mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 20:38:32 +02:00
Temp patch to remove multiple tool calls (#2720)
This commit is contained in:
@@ -316,7 +316,9 @@ class Answer:
|
|||||||
|
|
||||||
yield from self._process_llm_stream(
|
yield from self._process_llm_stream(
|
||||||
prompt=prompt,
|
prompt=prompt,
|
||||||
tools=[tool.tool_definition() for tool in self.tools],
|
# as of now, we don't support multiple tool calls in sequence, which is why
|
||||||
|
# we don't need to pass this in here
|
||||||
|
# tools=[tool.tool_definition() for tool in self.tools],
|
||||||
)
|
)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user