-
Notifications
You must be signed in to change notification settings - Fork 898
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
Fixed TypeError in Tracing issue with tokens that are dicts #3885
Conversation
@microsoft-github-policy-service agree |
Please merge this on priority!!! Production flows are failing with new Azure OpenAI GPT 4o version (2024-08-06) |
@luigiw please review again to clear the flag, the changelog has been updated. |
Thanks for the quick fix!! Any idea on new version release ?? Can this be released on priority ?? |
Description
In the latest version of OpenAI some keys have tokens that are not ints. This is causing TypeErrors like
TypeError: unsupported operand type(s) for +: 'int' and 'dict'
This aims to handle None types and Dicts better in tracing.
Should resolve bug #3834
All Promptflow Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines