Nicolas Suzor

Results 4 comments of Nicolas Suzor

Hi there, thanks so much for the recent updates. I just want to note an inconsistency between merge #6158 and the docs. Specifically, at https://github.com/microsoft/autogen/commit/27da37efc0e14a8d2c193d732e6899895b14f7bd#r154885312, the change for Mistral etc...

My apologies; yes, that's the error. Here's my test case: ``` from autogen_core.models import UserMessage from autogen_ext.models.openai import ( OpenAIChatCompletionClient, ) model_cfg = { "api_key": "xyz", "base_url": "https://generativelanguage.googleapis.com/v1beta/openai/", "model_info": {...

Looking at [OpenAI's API](https://platform.openai.com/docs/api-reference/making-requests), this is going to require a more extensive fix, because completion_tokens_details is a dict, not an int, when it does come through. I don't have capacity...

I hit this too, thanks for investigating and providing a workaround!