Skip to content

Commit

Permalink
community[Qianfan]: add function_call in additional_kwargs (#19550)
Browse files Browse the repository at this point in the history
- **Description:** add lacked `function_call` field in
`additional_kwargs` in previous version
- **Dependencies:** None of new dependency
  • Loading branch information
Dobiichi-Origami authored and hinthornw committed Apr 26, 2024
1 parent 8d973dd commit f6f3553
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def _convert_dict_to_message(_dict: Mapping[str, Any]) -> AIMessage:
request_id=additional_kwargs["id"],
object=additional_kwargs.get("object", ""),
search_info=additional_kwargs.get("search_info", []),
function_call=additional_kwargs.get("function_call", {}),
),
)

Expand Down

0 comments on commit f6f3553

Please sign in to comment.