-
Is there a way to track token usage for each agent's calls with supervisor approach? I need to track each llm's call token usage for internal analytics. |
Beta Was this translation helpful? Give feedback.
Answered by
regmanua
Apr 11, 2025
Replies: 1 comment
-
I found the way: just set the "output_mode" = "full_history" for createSupervisor function and then just iterate the AI messages for token usage. Topic can be closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
regmanua
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the way: just set the "output_mode" = "full_history" for createSupervisor function and then just iterate the AI messages for token usage. Topic can be closed.