Skip to content

Conversation

@xCthulhuFtagn
Copy link

(#92)

Added function use instead of tool call and an example of how it could be used to actually run gigachat with the framework

First concept, now just rewrote the classes from the sgr_deep_research.core.agents

(vamplabAI#92)

Added function use instead of tool call and an example of how it could be used to actually run gigachat with the framework
- Added token accumulation functionality to track total tokens used during agent operations.
- Updated the `ResearchContext` model to include a `tokens_used` field.
- Integrated token tracking in various agent classes, ensuring accurate logging of token usage during tool calls and reasoning steps.
- Adjusted logging to display total tokens used in agent outputs for better monitoring and analysis.
@xCthulhuFtagn xCthulhuFtagn changed the title [WIP] Gigachat usage [WIP] Gigachat usage and logging token usage Nov 26, 2025
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.

1 participant