Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
HuanzhiMao committed Nov 26, 2024
1 parent 481f6f0 commit aedaa51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ def _query_FC(self, inference_data: dict):
if len(tools) > 0:
api_response = self.client.chat.chat(
messages=message,
model=self.model_name.replace("-FC", ""),
model=self.model_name,
temperature=self.temperature,
tools=tools,
tool_choice="auto",
)
else:
api_response = self.client.chat.chat(
messages=message,
model=self.model_name.replace("-FC", ""),
model=self.model_name,
temperature=self.temperature,
)
return api_response

0 comments on commit aedaa51

Please sign in to comment.