Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Extention copiloCopilot Chat in VS Code shows "monthly credit limit" error although usage is 19% (works on github.com/copilot and in a clean profile)y

Đang mở
#633 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
vscode
Lĩnh vực
tooling

Hướng nghiên cứu

No source files, tests, or code entry points are named. First verify whether this Copilot Chat quota issue belongs in the vscode-github-actions repository, then compare the reported failing main profile with the working temporary profile. Done means confirming the relevant project ownership and identifying a reproducible path to the incorrect limit error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Type: Bug

Copilot Chat in VS Code rejects every message with the following error, even though my usage is far below the limit:

You've reached your monthly credit limit. Upgrade to Copilot Pro or wait until your credits reset on November 1, 2026 at 7:00 AM.

Environment

OS: Windows
VS Code: [check Help → About; the Copilot Chat log reports 1.140.0]
GitHub Copilot Chat: 0.68.0 (built-in)
Plan: Copilot Free (log shows copilot token sku: free_limited_copilot)
Mode: Agent, model: Auto (routed to gpt-6-luna / mai-code-1.1-flash)

What happens

Even a one-word message ("tes") is rejected with the error above.
The Copilot status panel shows Credits: 19% used and Inline Suggestions: 0% used.
While the AI is generating, the credits value flickers between different numbers (e.g. 85%, 86%) and then returns to 19%. The 19% value never changes.
The same behavior occurred on my previous account, and now on a brand-new account.
The VS Code status bar icon initially showed a slashed (disabled) state. I fixed the inline suggestion settings, but the chat error remains.

What works

Chat on github.com/copilot works with the same account.
Chat works in a clean VS Code profile (code --profile-temp) with no folder open, using mai-code-1.1-flash.
Logs show I am logged in correctly ("Logged in as [username]", "Got Copilot token").

What fails

My main VS Code profile fails every time, after sign out/in, reload window, and starting a new chat.
[Not yet tested: clean profile with my project folder opened. Fill in the result before sending.]

Logs

With the "GitHub Copilot Chat" output channel at Trace level, no outgoing chat request is logged when the error appears, which suggests the error may be generated client-side from stale or incorrect quota data rather than returned by the server.
Unrelated errors in the log: 404 from code search/Task API for a repo my new account cannot access, and "Failed to create database. Falling back to in-memory db: unable to open database file".

Expected behavior: Chat should work while usage is at 19%.

Actual behavior: Chat is blocked with a "monthly credit limit" message that does not match the usage shown in the panel or on GitHub.

Attachments: [screenshot of the error, screenshot of the Copilot usage panel showing 19%, startup log]

Extension version: 0.32.3
VS Code version: Code 1.140.0 (07f806f999227108933c2e30515b26eecc1fda74, 2026-09-30T10:38:38+02:00)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 170 with Radeon Graphics (16 x 3194)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1681 [AMD Radeon(TM) 680M], DRIVER_VENDOR=AMD, DRIVER_VERSION=32.0.21030.14003 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x25ac [NVIDIA GeForce RTX 3050 6GB Laptop GPU], DRIVER_VERSION=32.0.15.8205
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.19GB (2.94GB free)
Process Argv --profile-temp --crash-reporter-id 0778f362-c7dc-4c89-8436-502a5499409a
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
capico_axe_098a3278:31590238
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ddid_c:31478207
hmra_i5g22:31518061
ja75b849:31592442
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
nes-ex-cf-euporie-03:31542868
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
maidictation:31565333
0c1h4866:31566224
session-mark-done:31591648
plus-and-new:31594157
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
allow-signed-out:31592042
80db41fc-e686-49f5-b9db-830fbb843f14:31589249
intellij_nes_preview_t:31580086
multiv2:31574985
2bfb8b39:31585911
links-control:31587703
aw-autom-on:31583758
usage_tips_endabled_0911:31587631
7g328426_fixed:31593558
codex-agent-host-stable-editor:31593046
54hd3363:31588611
0485115c-2712-4002-b6e9-b5d4e30fb963:31586114
sessioninlinediffenabled_disabled:31587634
welcomesignin9359c:31590009
b169b0b1-b17e-475c-9032-91b9b24dde97:31589214
d6a5dc66-a24d-4215-bf31-317b28ac768a:31589212
873a6c30-1450-474f-862d-8084643bbc8e:31593167
jb0cf204:31592432
edbgf432:31592435
permission_prompt_treatment:1332566
ccr_pr_nudge_adoption:1319471
vsc_wsm_t:1340632
g03gg798:1417072
cfee5631:1379228
ihko4107:1412285
sem_714gi995:1401462
4cj51803:1433348
chat-subagents-default-to-auto-treatment:1436478
cmc_aa_c:1435710

Ngôn ngữ chính
TypeScript
Star
666
Fork
218
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/vscode-github-actions

Tất cả issue của github/vscode-github-actions

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.