URGENT!: Copilot has mistakes in calculating Premium quotas

未關閉
#529 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
macos, swift
領域
ai, desktop, devtools

研究方向

先透過 OpenRouter 在 Settings > Model 中選取 Grok 4 fast 和 Grok Code Fast 1,重現配額計算,然後將回報的 premium 額度與螢幕截圖進行比較。檢視 Copilot for Xcode 相關的模型與配額流程;當不受支援的 OpenRouter 模型不再使回報的 premium 使用量虛增時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

Since GitHub Copilot doesn't support Grok Code Fast 1, I add it from OpenRouter. After some use, Copilot says my premium request allowance is exceeded.

In fact, my allowance is only used 46.3%. I think maybe Copilot for Xcode have calculated the use of OpenRouter Grok Code Fast 1 to its own, though it is not support in Xcode.

Describe the bug

Versions

  • Copilot for Xcode: 0.43.140
  • Xcode: 26.0
  • macOS: 26.0

Steps to reproduce

  1. In Settings, model, add OpenRounter
  2. Choose Grok 4 fast, and Grok Code Fast 1.
  3. Use Grok Code Fast 1

Screenshots

Image Image

Logs

Additional context

主要語言
Swift
星號
6.3k
分支
2k
平均合併
3 天 21 小時
30 天內合併 PR
2

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/CopilotForXcode 的其他 Issue

查看 github/CopilotForXcode 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。