mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-26 22:49:01 -06:00
Correct get_tool_calls_from_response signature
This commit is contained in:
@@ -52,7 +52,7 @@ class AIClient:
|
|||||||
)
|
)
|
||||||
tool_calls = self.llm.get_tool_calls_from_response(
|
tool_calls = self.llm.get_tool_calls_from_response(
|
||||||
result,
|
result,
|
||||||
error_on_no_tool_calls=True,
|
error_on_no_tool_call=True,
|
||||||
)
|
)
|
||||||
logger.debug("LLM query result: %s", tool_calls)
|
logger.debug("LLM query result: %s", tool_calls)
|
||||||
parsed = DocumentClassifierSchema(**tool_calls[0].tool_kwargs)
|
parsed = DocumentClassifierSchema(**tool_calls[0].tool_kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user