mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-18 21:44:53 +00:00
Apply patch [skip ci]
This commit is contained in:
@@ -1122,7 +1122,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,
|
||||
)
|
||||
@@ -1565,3 +1567,4 @@ class ChatOllama(BaseChatModel):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user