Skip to content

Commit c477619

Browse files
committed
.
Signed-off-by: Bryan Qiu <bryan.qiu@databricks.com>
1 parent a0c0d9c commit c477619

File tree

3 files changed

+0
-203
lines changed

3 files changed

+0
-203
lines changed

integrations/langchain/src/databricks_langchain/chat_models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,6 @@ def _convert_message_to_dict(message: BaseMessage) -> dict:
10551055
return {"role": "user", **message_dict}
10561056
elif isinstance(message, AIMessage):
10571057
if tool_calls := _get_tool_calls_from_ai_message(message):
1058-
print(tool_calls)
10591058
message_dict["tool_calls"] = tool_calls # type: ignore[assignment]
10601059
# If tool calls present, content null value should be None not empty string.
10611060
message_dict["content"] = message_dict["content"] or None # type: ignore[assignment]

integrations/langchain/tests/integration_tests/agent.py

Lines changed: 0 additions & 200 deletions
This file was deleted.

integrations/langchain/tests/integration_tests/test_chat_models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,5 +906,3 @@ def test_chat_databricks_with_gemini():
906906
)
907907
assert result is not None
908908
assert result.output is not None
909-
print(result.model_dump())
910-
assert False

0 commit comments

Comments
 (0)