Skip to content

Commit

Permalink
fix: change request field name
Browse files Browse the repository at this point in the history
  • Loading branch information
WHALEEYE committed Aug 17, 2024
1 parent 1766c5c commit eae4787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crab/agents/backend_models/camel_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def chat(self, messages: List[Tuple[str, MessageType]]):
)
response = self.client.step(usermsg)
self.token_usage += response.info["usage"]["total_tokens"]
tool_calls = response.info.get("tool_calls")
tool_calls = response.info.get("tool_call_requests")

# TODO: delete this after record_message is refactored
self.client.record_message(response.msg)
Expand Down

0 comments on commit eae4787

Please sign in to comment.