-
Notifications
You must be signed in to change notification settings - Fork 5k
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
add cost property to agents #614
Comments
@kevin666aa for you to consider adding this functionality back in v0.2 |
just curious about the reason why cost functionality is removed in v0.2. thx. |
@kevin666aa An ideal implementation (to support analysis, tracing, etc.) would be to record the cost of each message. Adding a timestamp field would also be useful. These would support many other metrics for benchmarking etc. |
Note: it would be nice to have that also for OpenAI assistant API. It seems that #769 wouldn't work in that case |
@kevin666aa please check the comment above if you haven't. |
Thanks. Adding tasks to #770:
|
Hi. I wonder if functions are included in the cost? thanks. |
I assume you are referring to "functions" params passed to OpenAI, and yes it should be counted as completion token. |
Closing this issue due to inactivity. If you have further questions, please open a new issue or join the discussion in AutoGen Discord server: https://discord.com/invite/Yb5gwGVkE5 |
users should be able to fetch the price from each agent involved in their chat.
The text was updated successfully, but these errors were encountered: