V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Auston
V2EX  ›  问与答

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

  •  
  •   Auston · Mar 3 · 731 views
    This topic created in 57 days ago, the information mentioned may be changed or developed.
    我在 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
       Mar 3
    而且还会出现发往/v1/chat/completions 的 get 请求
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5230 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 08:01 · PVG 16:01 · LAX 01:01 · JFK 04:01
    ♥ Do have faith in what you're doing.