You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Their a problem with Autogen with OperRouter. 'NoneType' object has no attribute 'prompt_tokens'
config_list = [
{
"model": "cognitivecomputations/dolphin-mixtral-8x7b",
"api_key": "Key",
"base_url": "https://openrouter.ai/api/v1",
}
this seems to be an incompatibility with OpenAI's chat completion object see here, and openrouter's see here I'll add a check to the code to check for usage being available
Describe the bug
Their a problem with Autogen with OperRouter. 'NoneType' object has no attribute 'prompt_tokens'
config_list = [
{
"model": "cognitivecomputations/dolphin-mixtral-8x7b",
"api_key": "Key",
"base_url": "https://openrouter.ai/api/v1",
}
AutoGen Version: v0.2.11
Steps to reproduce
config_list = [
{
"model": "cognitivecomputations/dolphin-mixtral-8x7b",
"api_key": "Key",
"base_url": "https://openrouter.ai/api/v1",
}
Expected Behavior
no error
Screenshots and logs
Additional Information
No response
The text was updated successfully, but these errors were encountered: