From 34ea4b7dc2996ef2f8d1c801650cd311437d2388 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Fri, 25 Apr 2025 15:08:44 -0400 Subject: [PATCH] lint --- libs/community/langchain_community/chat_models/llamacpp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/community/langchain_community/chat_models/llamacpp.py b/libs/community/langchain_community/chat_models/llamacpp.py index a401d9eb93c..2868d41ad8e 100644 --- a/libs/community/langchain_community/chat_models/llamacpp.py +++ b/libs/community/langchain_community/chat_models/llamacpp.py @@ -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