Yiling-J
Yiling-J
@maypok86 seems the only special type as map key is string? because bytes is not allowed in comparable and pointers are always not equal. if so it's also possible to...
@tv42 I think comparable is the right key type, and if we consider cache a hashmap, it's nature to use comparable as key. Go knows exactly how to handle comparable,...
@eykd @aspatari Sorry for no replying because I miss the notification when this issue was opened (seems I didn't even receive it). I'm not very familiar with Pydantic and haven't...
@eykd @aspatari After reading the Pydantic documentation a bit, I think it might be better to remove the serializer concept altogether and instead adding `dumps` and `loads` methods directly to...
@felixvor Thank you for your suggestion! I’ve added the `required` field and tested it 10 times. Everything works as expected, and no errors were encountered. I do feel the quality...
@karayanni Adding the `required` field works for me, before doing so, around 80% of my calls would fail—either due to loops or missing fields. After explicitly adding the required field,...
@xylophone21 According to https://github.com/google-gemini/cookbook/issues/449#issuecomment-2665193768, the google.genai SDK should automatically add the required fields. You can try printing the schema to verify. In my case, I do manually add the required...
off-topic: I'm working on this tool and encountered the issue while developing it: https://github.com/Yiling-J/tablepilot. I think it's an interesting project, feel free to check it out if you're interested
My test case (and other similar tests that generate different kinds of table data) is working with Gemini 2.0 Flash after I added the `required` field. A lot of comments...
@Tendo33 When you use the [csghub-installer](https://github.com/OpenCSGs/csghub-installer/tree/main/docker-compose) main branch, it installs the nightly version of CSGHub, which is built every night from the main branch of CSGHub. Please note that the...