Skip to content

Commit 1f0af86

Browse files
committed
Temp patch to remove multiple tool calls (onyx-dot-app#2720)
1 parent 0e6524d commit 1f0af86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/danswer/llm/answering/answer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,9 @@ def _raw_output_for_explicit_tool_calling_llms(
316316

317317
yield from self._process_llm_stream(
318318
prompt=prompt,
319-
tools=[tool.tool_definition() for tool in self.tools],
319+
# as of now, we don't support multiple tool calls in sequence, which is why
320+
# we don't need to pass this in here
321+
# tools=[tool.tool_definition() for tool in self.tools],
320322
)
321323

322324
return

0 commit comments

Comments
 (0)