mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-19 05:58:58 +00:00
Apply patch [skip ci]
This commit is contained in:
@@ -1044,7 +1044,9 @@ class ChatOllama(BaseChatModel):
|
||||
usage_metadata=_get_usage_metadata_from_generation_info(
|
||||
stream_resp
|
||||
),
|
||||
tool_calls=_get_tool_calls_from_response(stream_resp),
|
||||
tool_calls=_get_tool_calls_from_response(
|
||||
stream_resp, model_name=self.model
|
||||
),
|
||||
),
|
||||
generation_info=generation_info,
|
||||
)
|
||||
@@ -1562,3 +1564,4 @@ class ChatOllama(BaseChatModel):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user