github / github/CopilotForXcode

Context is not clear but shared between tabs

未关闭
#351 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
6.3k
派生
2k
平均合并
2 分钟
30 天内合并 PR
2

描述

**Describe the bug**

People create new tab to get fresh ideas. But currently, Copilot shares the context and leads errors.

**Versions**
- Copilot for Xcode: 0.37.127
- Xcode: 16.4 (16F6)
- macOS: 15.6 Beta(24G5054d)

**Steps to reproduce**
1. Ask copilot to change code for some times, for example, 4 times.
2. Use GitHub to restore to the original state.
3. Open a new tab, ask the first question.

Expected:
Copilot only dealt with the specific question.

What happened:
Copilot revised the code with the four questions. Even if you change the model, for example, from Sonnet 4 to Gemini 2.5 Pro, the result was the same.

**Screenshots**

**Logs**

**Additional context**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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