Skip to content

Commit

Permalink
Update libs/databricks/tests/unit_tests/test_chat_models.py
Browse files Browse the repository at this point in the history
Co-authored-by: Harutaka Kawamura <[email protected]>
  • Loading branch information
B-Step62 and harupy authored Sep 14, 2024
1 parent db74230 commit dd39f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/databricks/tests/unit_tests/test_chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def test_convert_message_not_propagate_id() -> None:
# propagate it to the request payload.
message = AIMessage(content="foo", id="some-id")
result = _convert_message_to_dict(message)
assert result == {"role": "assistant", "content": "foo"}
assert "id" not in result


def test_convert_message_with_tool_calls() -> None:
Expand Down

0 comments on commit dd39f0b

Please sign in to comment.