mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-25 18:53:34 +00:00
Previously thoughtSignature was only attached to messages with function calls. This change extends the feature to also attach thoughtSignature to the first text part of assistant/model messages when no tool_calls are present, ensuring compatibility with Gemini thinking models in regular conversation scenarios.