mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-06 06:49:23 +00:00
Chore: set tool_required to opena-like llm calls (#13025)
This commit is contained in:
1 parent
8bd620d8ab
commit
bcf5d2cffc
1 file changed
+1
@@ -130,6 +130,7 @@ class AIClient:
|
|||||||
user_msg=user_msg,
|
user_msg=user_msg,
|
||||||
chat_history=[],
|
chat_history=[],
|
||||||
allow_parallel_tool_calls=True,
|
allow_parallel_tool_calls=True,
|
||||||
|
tool_required=True,
|
||||||
)
|
)
|
||||||
tool_calls = self.llm.get_tool_calls_from_response(
|
tool_calls = self.llm.get_tool_calls_from_response(
|
||||||
result,
|
result,
|
||||||
|
|||||||
Reference in new issue
Block a user