Mark Daoust

Results 254 comments of Mark Daoust

Hi @Jeanno, This error is exactly what it says, the model is overloaded try again in a few minutes. The SDK's have some retry options you can use (like I...

Hi @yan-hic, The code is here: https://github.com/google-gemini/generative-ai-python/blob/8f77cc6ac99937cd3a81299ecf79608b91b06bbb/google/generativeai/types/content_types.py#L337-L342 It uses pydantic to do the conversion already, but I haven't tested actually passing pydantic objects. Similarly, I haven't tried this with types...

These seem to work, as long as they're nested inside a class, just not at the top level.

On hold 3.13 is not picked up by GH actions yet.

3.13 will be released on 1 Oct.

Hi, sorry about the slow responses here. We're done a lot to improve the model's handling of cases like this and expanded the list of finish_reasons to give more information...

@shmishra99 I think the user's complaint is not about inside our codebase, but in their code, they have to lookup the enum object instead of just writing the string. ANd...