spike0100
0.01D
V2EX  ›  Xcode

把阿里百炼的 qwen3-code-plus 接入 xcode26 自定义模型,但是提问会报错

  •  
  •   spike0100 · Aug 14, 2025 · 5473 views
    This topic created in 452 days ago, the information mentioned may be changed or developed.
    > [] is too short - 'tools'
    7 replies  •  2025-08-14 16:47:25 +08:00
    spike0100
    spike0100
    OP
    Aug 14, 2025
    1
    Vegetable
    Vegetable
    Aug 14, 2025
    2
    看这意思像 tools 为空报错了,这个建议直接提工单给阿里。
    spike0100
    spike0100
    OP
    Aug 14, 2025
    4
    @Vegetable #3 那应该是 xcode26 的 bug ,估计得苹果修复。
    so898
    so898
    Aug 14, 2025
    5
    @Vegetable 不是阿里的问题,很多平台的 API 都会检查 tools 为空并认定为非法输入
    果子特么所有 tools 调用都写在 system prompt 里面,不知道加个 tools 参数是干啥的
    spike0100
    spike0100
    OP
    Aug 14, 2025
    6
    @so898 我试了好几个国内大模型服务都不能用,都是 tools 错误。现在只有 ollama 可以调成功。
    salor
    salor
    Aug 14, 2025 via iPhone
    7
    Xcode 写死了接口前缀,支持的就那两家,要抓包拦截重写
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1514 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 16:29 · PVG 00:29 · LAX 08:29 · JFK 11:29
    ♥ Do have faith in what you're doing.