V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Auston
V2EX  ›  问与答

openclaw 添加模型时,模型验证的请求为什么是这样的?

  •  
  •   Auston · 10 天前 · 449 次点击
    我在 cloudflare 上使用 work + AI Gateway 代理的第三方 LLM API 提供商,有概率出现这样的请求体,导致模型验证失败:
    {
    "model": "gpt-5.2",
    "messages": [
    {
    "role": "user",
    "content": "Hi"
    }
    ],
    "max_tokens": 1,
    "stream": false
    }

    正常请求体应该是这样的:
    {
    "model": "gpt-5.2",
    "messages": [
    {
    "role": "user",
    "content": "Hi"
    }
    ],
    "max_tokens": 1024
    }
    Auston
        1
    Auston  
    OP
       10 天前
    而且还会出现发往/v1/chat/completions 的 get 请求
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2911 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 179ms · UTC 08:25 · PVG 16:25 · LAX 01:25 · JFK 04:25
    ♥ Do have faith in what you're doing.