Files
new-api/dto
t0ng7u 1d26f63c54 🐛 fix: Gemini FunctionResponse parts inlineData parsing
Gemini native FunctionResponse may include media in functionResponse.parts.
Previously, the Parts field was defined as json.RawMessage, preventing GeminiPart
custom unmarshal logic from normalizing snake_case keys (inline_data/mime_type)
to the camelCase format (inlineData/mimeType) required by Gemini REST.

This change updates GeminiFunctionResponse.Parts to []GeminiPart so nested media
parts are correctly parsed and forwarded, enabling the model to read inline data.
2025-12-20 23:23:33 +08:00
..
2025-11-26 02:06:25 +08:00
2024-09-26 00:59:09 +08:00
2025-08-31 13:08:34 +08:00
2024-06-13 10:35:48 +08:00
2024-06-13 10:35:48 +08:00
2025-06-19 11:53:42 +08:00