Skip to content

[Bug]: #375

@shoebshah64

Description

@shoebshah64

提交前确认

  • 我已经搜索过现有的 issues,确认这不是重复问题
  • 我已经阅读过项目文档

是否是最新版

是,使用最新版

调用的是哪个渠道

geminicli

调用的是哪个模型

gemini 3.1 pro preview

调用的是哪个格式

gemini 格式

具体报错内容

Please try again later.
Error: com.openai.errors.BadRequestException: 400: Request contains an invalid argument.

logs:

[2026-05-13 13:43:13] [ERROR] [GEMINICLI STREAM] 流式请求失败,非重试错误码 (status=400), 凭证: core-conquest-5j5zp-1778658342.json, 响应: {
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT"
  }
}

[2026-05-13 13:43:13 +0530] [129753] [INFO] 127.0.0.1:38994 - - [13/May/2026:13:43:13 +0530] "POST /v1/chat/completions 1.1" 400 127 "-" "OpenAIClientAsyncImpl/Java unknown"

错误描述

have configure android studio Gemini agent by third party provider Open AI compatible URL Schema.
but not able to use agent .

Image

补充信息(可选)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions