Skip to content

今天无论请求什么模型都出现了新的报错,协议错误? #322

Done

Description

@yuchen1204

发生了什么 / What happened

{
"time": "2026-11-24T13:39:16.8860771+08:00",
"level": "ERROR",
"source": "haioukaiche@gmail.com",
"message": "请求失败",
"event": "request.finished",
"request": {
"id": "chatcmpl_1795498755856166000_4",
"state": "failed",
"model": "gemini-4-neon",
"method": "POST",
"path": "/v1/chat/completions",
"input_messages": 524,
"input_text_chars": 72271,
"parameters": {
"max_output_tokens": "65536",
"temperature": "默认",
"thinking": "medium",
"top_p": "默认"
},
"started_at": "2026-11-24T13:39:15.889451+08:00",
"status": 400,
"duration_ms": 1087.3496,
"error": "AI Studio CreateInteraction 返回 HTTP 400、协议错误码 3: 'gemini-4-neon' refers to a model, but was provided in the 'agent' field. Please use the 'model' field instead.",
"queue_ms": 92.959,
"proof_ms": 53.656,
"proof_phases": {
"lock_ms": 0,
"interaction_ms": 9.4276,
"refresh_ms": 0,
"compute_ms": 43.2276
},
"channel": "playground"
}
}

版本 / Version

No response

Activity

  1. likeravine233 commented on Nov 24, 2026

    @likeravine233
    Contributor

    同一问题,见 #321 与修复 PR #323。

    根因:Google 按账户把 gemini-4 迁移到 Interactions 后端后,ListModels field 79 将模型标为 [background=1, kind=2],被路由进 CreateInteraction 任务路径后模型名被写入 agent 目标槽位,上游 400。PR #323 已按 kind=2 模型走 CreateInteractionStream 模型目标修复,并在被迁移账户实测 hydrogen/argon 单轮与多轮全部 200。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions