Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Switching between GitHub Copilot and Azure Open AI gives below error

未关闭
#465 8 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
49/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
azure, clojure, github

调研方向

Start by reproducing the issue: use GitHub Copilot in a chat buffer, switch to Azure OpenAI, then send a message. Read the provider-switching and request-history handling paths, focusing on the reported invalid input[3].id error; the issue does not name files or tests. Done means switching providers in the same buffer no longer causes this error.

由索引模型根据 Issue 内容生成。

描述

bug

Describe the bug

Switching between GitHub Copilot and Azure Open AI gives below error.

[OPENAI] Unexpected response status: %s body: %s 400 {
  "error": {
    "message": "Invalid 'input[3].id': '649b3310-b1ed-44aa-8727-b7577d4f3f4c'. Expected an ID that begins with 'rs'.",
    "type": "invalid_request_error",
    "param": "input[3].id",
    "code": "invalid_value"
  }
}
{:message OpenAI response status: 400 body: {
  "error": {
    "message": "Invalid 'input[3].id': '649b3310-b1ed-44aa-8727-b7577d4f3f4c'. Expected an ID that begins with 'rs'.",
    "type": "invalid_request_error",
    "param": "input[3].id",
    "code": "invalid_value"
  }
}, :status 400, :body {
  "error": {
    "message": "Invalid 'input[3].id': '649b3310-b1ed-44aa-8727-b7577d4f3f4c'. Expected an ID that begins with 'rs'.",
    "type": "invalid_request_error",
    "param": "input[3].id",
    "code": "invalid_value"
  }
}}
:db/upsert-cache 21ms

To Reproduce

Steps to reproduce the behavior:

  1. Use GitHub Copilot for a while. (use Claude sonnet to code)
  2. switch to Azure OpenAI (gpt-5.5 to the changes) [same chat buffer]
  3. User input , enter, and the error appears

Expected behavior

Switching providers should not cause this error.

Doctor

ECA version: 0.134.2

Server cmd: /Users/ck/.local/share/mise/installs/eca/0.134.2/eca server

Workspaces: /Users/ck/GitRepos/strimzi-backup-operator

Default model: github-copilot/gpt-5-mini (Subscription (oauth), expires 2026-05-19 21:30)

Logged providers: 
openai: Subscription (oauth), expires 2026-05-17 09:26 --- I have Azure OpenAI, apart from Openai - FYI
github-copilot: Subscription (oauth), expires 2026-05-19 21:30 

Relevant env vars: 


Credential files:
  /Users/ck/.netrc:
    Readable: true
    Permissions: secure
    Credentials: 1

Screenshots

Image
主要语言
Clojure
星标
1k
派生
82
平均合并
3 天 39 分钟
30 天内合并 PR
15

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

editor-code-assistant/eca 的其他 Issue

查看 editor-code-assistant/eca 的全部 Issue

相似的 Issue

更多 Clojure Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。