mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-27 02:15:50 +03:00
[GH-ISSUE #305] 在 OpenAI 兼容接口下丢失 Function Calling #219
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fhp88888 on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/305
版本:docker部署 v2.8.9
在使用 OpenAI 兼容接口调用 gemini-3-flash-preview模型时,模型原生响应中包含正确的 functionCall 数据,但经过网关转换后,返回给客户端的响应中 tool_calls 字段被丢弃,导致客户端无法获取工具调用指令。
log上的记录:
可见function call在转换后被丢弃了。
复现脚本:
@justlovemaki commented on GitHub (Feb 4, 2026):
已修复
@fhp88888 commented on GitHub (Feb 4, 2026):
AMAZING! 好快的修!