Skip to content

fix usage tracker#252

Open
mlikasam-askui wants to merge 1 commit intomainfrom
fix/usage-tracker
Open

fix usage tracker#252
mlikasam-askui wants to merge 1 commit intomainfrom
fix/usage-tracker

Conversation

@mlikasam-askui
Copy link
Contributor

No description provided.

Comment on lines -68 to -70
@override
def on_conversation_start(self, conversation: Conversation) -> None:
self._summary = UsageSummary()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was resetting the Usage Summery?

Comment on lines +76 to +79
self._reporter.add_message(
role="Usage Tracker",
content=f"Usage for step {step_index}: {str(result.usage)}",
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this only for debugging?

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