Skip to content

Commit

Permalink
Temp patch to remove multiple tool calls (#2720)
Browse files Browse the repository at this point in the history
  • Loading branch information
Weves committed Oct 8, 2024
1 parent 0e6524d commit 1f0af86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/danswer/llm/answering/answer.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ def _raw_output_for_explicit_tool_calling_llms(

yield from self._process_llm_stream(
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
Expand Down

0 comments on commit 1f0af86

Please sign in to comment.