[GH-ISSUE #441] GitHub copilot VSCode model unknown and messages empty array #163

Closed
opened 2026-03-02 04:12:28 +03:00 by kerem · 8 comments
Owner

Originally created by @dansmith-drs on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/441

Hello!

Currently exploring how git-ai could help us improve our ai usage in an enterprise setting and this looks very promising.

When using the default config the tooling correctly saves data into the SQL prompts table with the tool listed as GitHub copilot. However the model is listed as unknown and the messages is an empty array. Is there some config that I'm missing to get those to populate to be able to see what prompts were used? What's the best way to view logging to help debug?

Before a commit git-ai status reports the ai change as Github-copilot unknown

VSCode (1.108.2) with GitHub copilot chat (0.35.2)and GitHub copilot (1.387.0, Linux, git-ai VSCode plugin (0.1.16).

Thanks for the guidance!

Originally created by @dansmith-drs on GitHub (Feb 2, 2026). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/441 Hello! Currently exploring how git-ai could help us improve our ai usage in an enterprise setting and this looks very promising. When using the default config the tooling correctly saves data into the SQL prompts table with the tool listed as GitHub copilot. However the model is listed as unknown and the messages is an empty array. Is there some config that I'm missing to get those to populate to be able to see what prompts were used? What's the best way to view logging to help debug? Before a commit `git-ai status` reports the ai change as `Github-copilot unknown` VSCode (1.108.2) with GitHub copilot chat (0.35.2)and GitHub copilot (1.387.0, Linux, git-ai VSCode plugin (0.1.16). Thanks for the guidance!
kerem closed this issue 2026-03-02 04:12:28 +03:00
Author
Owner

@svarlamov commented on GitHub (Feb 2, 2026):

Hey @dansmith-drs sorry to hear you're running into this issue! Would love to help you all with a smooth rollout if you're using Git AI at work. We love hearing about Git AI is being used https://calendly.com/acunniffe/meeting-with-git-ai-authors

As far as the model not being reported, do you see anything of note when you run git-ai status or git-ai commit with GIT_AI_DEBUG=1?

<!-- gh-comment-id:3836431426 --> @svarlamov commented on GitHub (Feb 2, 2026): Hey @dansmith-drs sorry to hear you're running into this issue! Would love to help you all with a smooth rollout if you're using Git AI at work. We love hearing about Git AI is being used https://calendly.com/acunniffe/meeting-with-git-ai-authors As far as the model not being reported, do you see anything of note when you run `git-ai status` or `git-ai commit` with `GIT_AI_DEBUG=1`?
Author
Owner

@dansmith-drs commented on GitHub (Feb 3, 2026):

Thank you @svarlamov for the rapid response and insight!

Will certainly get in touch after evaluating.

git commit with GIT_AI_DEBUG=1 proved insightful and very much likely explains why the model and messages are not populating. The logs reports the chat file is missing and it indeed is.

[git-ai] Failed to parse GitHub Copilot chat session JSON from home/developer/.vscode-server/data/User/workspaceStorage/{someUUID1}/chatSessions/{someUUID2}.json

Curiously, the someUUID1 directory exists however there is no chatSessions dir. Only a GitHub.copilot-chat dir which contains local-index.1.db and workspace-chunks.db

Perhaps that chatSessions dir is elsewhere? Although I couldn't find it. Or some configuration is preventing it from being saved?

Thanks for the help!

<!-- gh-comment-id:3839997664 --> @dansmith-drs commented on GitHub (Feb 3, 2026): Thank you @svarlamov for the rapid response and insight! Will certainly get in touch after evaluating. `git commit` with `GIT_AI_DEBUG=1` proved insightful and very much likely explains why the model and messages are not populating. The logs reports the chat file is missing and it indeed is. `[git-ai] Failed to parse GitHub Copilot chat session JSON from home/developer/.vscode-server/data/User/workspaceStorage/{someUUID1}/chatSessions/{someUUID2}.json` Curiously, the someUUID1 directory exists however there is no `chatSessions` dir. Only a `GitHub.copilot-chat` dir which contains `local-index.1.db` and `workspace-chunks.db` Perhaps that chatSessions dir is elsewhere? Although I couldn't find it. Or some configuration is preventing it from being saved? Thanks for the help!
Author
Owner

@svarlamov commented on GitHub (Feb 4, 2026):

Hey @dansmith-drs thank you for confirming! This will be fixed in the next release asap -- VS Code updated their chat storage 😓

<!-- gh-comment-id:3848726221 --> @svarlamov commented on GitHub (Feb 4, 2026): Hey @dansmith-drs thank you for confirming! This will be fixed in the next release asap -- VS Code updated their chat storage 😓
Author
Owner

@svarlamov commented on GitHub (Feb 9, 2026):

Hey @dansmith-drs apologies for the delay in getting to this. Fixes shipping out in the next release tonight!

<!-- gh-comment-id:3868876675 --> @svarlamov commented on GitHub (Feb 9, 2026): Hey @dansmith-drs apologies for the delay in getting to this. Fixes shipping out in the next release tonight!
Author
Owner

@svarlamov commented on GitHub (Feb 9, 2026):

One more thing! We'd love to see you in our new Discord for Git AI contributors! https://discord.gg/XJStYvkb5U

<!-- gh-comment-id:3868880204 --> @svarlamov commented on GitHub (Feb 9, 2026): One more thing! We'd love to see you in our new Discord for Git AI contributors! https://discord.gg/XJStYvkb5U
Author
Owner

@dansmith-drs commented on GitHub (Feb 10, 2026):

Thanks @svarlamov for being super responsive. Gave it a test today.

After updating to use git-ai v1.1.1 and 0.0.17 of the VSCode plugin, sadly running into similar issues.

Still seeing unknown with git-ai status and when committing getting the same message with the same path as in the original issue. The chatSessions dir doesn't exist in my env.

Is there something cached which needs to be cleared? Some nuance in my env?

Running git-ai --version returned 1.1.1

Thanks for the help!

<!-- gh-comment-id:3877288119 --> @dansmith-drs commented on GitHub (Feb 10, 2026): Thanks @svarlamov for being super responsive. Gave it a test today. After updating to use git-ai v1.1.1 and 0.0.17 of the VSCode plugin, sadly running into similar issues. Still seeing unknown with git-ai status and when committing getting the same message with the same path as in the original issue. The chatSessions dir doesn't exist in my env. Is there something cached which needs to be cleared? Some nuance in my env? Running `git-ai --version` returned 1.1.1 Thanks for the help!
Author
Owner

@svarlamov commented on GitHub (Feb 10, 2026):

Hey @dansmith-drs sorry to hear that! May I know what environment you're running in? I noticed that in your earlier comment you had the path:

home/developer/.vscode-server/data/User/workspaceStorage/{someUUID1}/chatSessions/{someUUID2}.json

Which seems to indicate some kind of a remote/devcontainer-based VS Code. We have some other open issues for those configurations that we'd love to fix soon. Happy to continue the conversation on Discord if you're around there https://discord.com/channels/1470188413344022814/1470188414643994730

<!-- gh-comment-id:3878201837 --> @svarlamov commented on GitHub (Feb 10, 2026): Hey @dansmith-drs sorry to hear that! May I know what environment you're running in? I noticed that in your earlier comment you had the path: ``` home/developer/.vscode-server/data/User/workspaceStorage/{someUUID1}/chatSessions/{someUUID2}.json ``` Which seems to indicate some kind of a remote/devcontainer-based VS Code. We have some other open issues for those configurations that we'd love to fix soon. Happy to continue the conversation on Discord if you're around there https://discord.com/channels/1470188413344022814/1470188414643994730
Author
Owner

@svarlamov commented on GitHub (Feb 13, 2026):

Per our earlier conversations, this appears to be an issue with devcontainers. Closing in favor of tracking in the original devcontainers issue #237

<!-- gh-comment-id:3899712158 --> @svarlamov commented on GitHub (Feb 13, 2026): Per our earlier conversations, this appears to be an issue with devcontainers. Closing in favor of tracking in the original devcontainers issue #237
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#163
No description provided.