Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding scopes to tracker #145

Closed
TLSDC opened this issue Nov 22, 2024 · 1 comment
Closed

Adding scopes to tracker #145

TLSDC opened this issue Nov 22, 2024 · 1 comment
Assignees

Comments

@TLSDC
Copy link
Collaborator

TLSDC commented Nov 22, 2024

@tracker('main')
def get_action(self, obs):
    obs = self.llm(obs)
    action = self.sub_agent.get_action(obs) # tracked by @tracker('subagent')

Ideally this would log the full cost ('main') and the cost of the subagent

@TLSDC TLSDC self-assigned this Nov 22, 2024
@TLSDC
Copy link
Collaborator Author

TLSDC commented Dec 5, 2024

Done in #169

@TLSDC TLSDC closed this as completed Dec 5, 2024
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

No branches or pull requests

1 participant