mirror of
https://github.com/snailyp/gemini-balance.git
synced 2026-05-12 02:19:59 +08:00
改进消息转换器以处理OpenAI的tool_calls格式 添加JSON解析以正确转换函数调用参数 优化消息处理逻辑,增加更多空值检查 在流式响应中添加工具调用检测和处理 根据工具调用状态设置适当的finish_reason
改进消息转换器以处理OpenAI的tool_calls格式 添加JSON解析以正确转换函数调用参数 优化消息处理逻辑,增加更多空值检查 在流式响应中添加工具调用检测和处理 根据工具调用状态设置适当的finish_reason