Open seungduk-yanolja opened 1 month ago
There is another issue also. https://github.com/google-gemini/generative-ai-python/issues/533
It sounds like an underlying API issue, not something specific to the Go SDK
It's worth asking on https://discuss.ai.google.dev/
Hi @seungduk-yanolja. I found a similar issue on the Developers forum :
https://discuss.ai.google.dev/t/json-mode-internal-server-error-500/38123
I will escalate this.
Thanks!
Hi @seungduk-yanolja. I found a similar issue on the Developers forum :
https://discuss.ai.google.dev/t/json-mode-internal-server-error-500/38123
I will escalate this.
Thanks!
@gmKeshari Thanks! Please escalate this too: https://github.com/google-gemini/generative-ai-python/issues/533
Description of the bug:
I have been debugging a weird issue for the past few nights and finally found the tipping point between inputs that cause errors and those that do not.
I get an error if the schema is too long, and no error if the schema is shortened a little.
Actual vs expected behavior:
First, please note that I have converted the OpenAI schema into a Gemini one.
This version gives me an error,
but this one does not.
Any other information you'd like to share?
The Go lang SDK does not support
$defs
and$ref
so I converted them to the SDK supported format.