Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHonKL authored Mar 9, 2025
1 parent 2efbf15 commit 5d17560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/partners/openai/langchain_openai/chat_models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _convert_dict_to_message(_dict: Mapping[str, Any]) -> BaseMessage:
name=name,
id=id_,
tool_calls=tool_calls,
invalid_tool_calls=invalid_tool_calls
invalid_tool_calls=invalid_tool_calls,
)
elif role in ("system", "developer"):
if role == "developer":
Expand Down

0 comments on commit 5d17560

Please sign in to comment.