mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-05 19:15:44 +00:00
lint
This commit is contained in:
parent
36db3212a9
commit
34ea4b7dc2
@ -364,7 +364,8 @@ class ChatLlamaCpp(BaseChatModel):
|
|||||||
tool_choice = formatted_tools[0]
|
tool_choice = formatted_tools[0]
|
||||||
else:
|
else:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"tool_choice `'any'` only supported if one tool is provided."
|
"tool_choice `'any'` only supported if one tool is "
|
||||||
|
"provided."
|
||||||
)
|
)
|
||||||
elif tool_choice == "auto":
|
elif tool_choice == "auto":
|
||||||
tool_choice = None
|
tool_choice = None
|
||||||
|
Loading…
Reference in New Issue
Block a user