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 摘要。