mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-02 01:23:07 +00:00
lint
This commit is contained in:
parent
36db3212a9
commit
34ea4b7dc2
@ -364,7 +364,8 @@ class ChatLlamaCpp(BaseChatModel):
|
||||
tool_choice = formatted_tools[0]
|
||||
else:
|
||||
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":
|
||||
tool_choice = None
|
||||
|
Loading…
Reference in New Issue
Block a user