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

Selecting a foreground custom agent leaves the session model unchanged (Windows 1.1.23)

未关闭
#4,097 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
github
领域
ai, desktop

调研方向

Start by reproducing the issue in the GitHub Copilot desktop app with the repository's .github/agents/apex.agent.md profile, checking the model picker before and after selecting APEX. Compare the effective model with standalone Copilot CLI, then determine whether the mismatch is only in the picker or also affects inference; done means the declared model is applied or precedence differences are documented.

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

描述

Short summary

Selecting a repository custom agent in the desktop app leaves the session model unchanged, despite an explicit
model: in the agent profile. The same coordinator profile switches models in standalone Copilot CLI.

Affected version or release

GitHub Copilot app 1.1.23, verified through Windows installation metadata.

Installation context
  • Windows 11 x64, build 26200.
  • Local repository, Interactive session, repository agents under .github/agents/.
  • Comparison client: standalone Copilot CLI 1.0.86 running in Ubuntu/WSL2.
  • The desktop app's embedded engine version has not been established. This is not an identical-engine comparison.
What happened?

After selecting APEX, the app showed both APEX and GPT-6 Astra / Medium. Sending a short prompt started the
session and returned a response, but the picker still showed Astra. MAI-Code-1.1-Flash was available in the model picker.

Selecting APEX in standalone CLI changed the model to mai-code-1.1-flash. In the desktop app, manually selecting MAI
worked and allowed us to continue testing. We did not need to replace the agent's model setting with Auto.

The observation concerns the session's displayed selection. We have not captured inference telemetry proving whether
the mismatch is limited to the UI or also affects the actual model request.

Steps to reproduce

Our installed .github/agents/apex.agent.md begins with:

---
name: APEX
description: Fast coordinator for APEX status, resume, and direct specialist handoff.
target: github-copilot
model: mai-code-1.1-flash
user-invocable: true
disable-model-invocation: true
tools:
  - ask_user
  - apex/status
  - apex/nextTask
  - apex/projectCreate
  - apex/projectList
  - apex/projectUse
  - apex/projectDelete
  - apex/gateDecide
---

This is the tested profile excerpt, not a separately verified minimal reproduction; its body contains APEX workflow
instructions and its project has an APEX MCP server.

  1. Open the repository in the desktop app and start an existing local repository session in Interactive mode.
  2. With GPT-6 Astra selected, select APEX using /agent or the agent picker.
  3. Check the model picker before and after a short prompt such as test.
  4. Observe that APEX is selected but the model picker remains on Astra.
  5. In standalone CLI, select APEX with the same coordinator declaration and observe the switch to MAI.

We initially encountered a separate missing-agent error in a new worktree. The model-selection observation above
persisted after creating a working local-repository session; this report is not about that startup error.

Expected behavior

Selecting a custom agent should apply its declared model when available, or clearly explain that an explicit session
selection takes precedence. The picker should show the effective model. If desktop and CLI intentionally use different
precedence rules, please document those differences.

Additional context
主要语言
没有语言数据
星标
2.1k
派生
157
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

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

github/app 的其他 Issue

查看 github/app 的全部 Issue

相似的 Issue

更多 AI Infra & Agents Issue

把新 issue 发到你的邮箱

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