Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
leonbi100 committed Jan 15, 2025
1 parent 25da349 commit 8200ab0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class VectorSearchRetrieverTool(VectorSearchRetrieverToolMixin):
messages=initial_messages,
tools=tools,
)
tool_call = chat_completion_resp.choices[0].message.tool_calls[0]
tool_call = response.choices[0].message.tool_calls[0]
args = json.loads(tool_call.function.arguments)
retriever_resp = vector_search_tool.execute(query=args["query"])
"""
Expand Down

0 comments on commit 8200ab0

Please sign in to comment.