Skip to content

Conversation

@grapeot
Copy link
Owner

@grapeot grapeot commented May 1, 2025

This PR fixes the unit test failure for test_query_o1_model by correcting how reasoning_tokens are accessed in tools/llm_api.py. Updated to use response.usage.reasoning_tokens directly.

Updated tools/llm_api.py to correctly access `response.usage.reasoning_tokens`
instead of the non-existent `response.usage.completion_tokens_details.reasoning_tokens`.
This resolves the unit test failure for `test_query_o1_model` on the multi-agent branch.
@grapeot grapeot merged commit 7e8d90b into multi-agent May 1, 2025
1 check passed
@grapeot grapeot deleted the fix/multi-agent-o1-test branch May 1, 2025 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants