Open burkeholland opened 3 months ago
Thanks for opening this issue. This message is probably coming from the Copilot API endpoint, and it should not have an effect if you trigger the API locally or from a codespace. Are you sure the exact same request is sent? You could look at the logs to compare.
@jrieken also might have ideas.
Tho, it is odd that this only happens in codespaces. There are known issues with codespaces getting a bad auth token, maybe that's the actual issue and the error message is a misleading consequence
@isidorn oddly, I'm not seeing anything in the logs related to @pg. If I do a regular chat interaction, I do see the logs. But the @pg doesn't log anything anywhere as far as I can tell. Will speak to @robconery today about this.
For what it's worth, myself and a few others are seeing the same error from the latest samples: https://github.com/microsoft/vscode-extension-samples/issues/1046
I was able to repro it without using Codespaces, but just building the sample and running it locally. The same one was also working before I updated my Insiders to 1.91.0-insider.
Doesn't this just mean that the pg
participant sent the chat model a bad request?
There are known issues with codespaces getting a bad auth token, maybe that's the actual issue and the error message is a misleading consequence
I hit this when I try to debug an extension inside a Codespace. For example:
Should I open a separate issue for this? Or this might be what this issue is all about. @brianrandell is the scenario you are trying to achieve is develop and debug a local GH extension in a Codespace? Thanks!
Version: 1.91.0-insider Commit: 0da59bdde2339d6ba632524dc8f3fb6f4b8a2bcb Date: 2024-06-14T10:11:28.580Z Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0
Steps to Reproduce:
./install.sh
to create and populate the chinook database@pg /conn postgres://postgres:postgres@localhost/chinook
@pg /show
- this will work - confirms connection string is set correctly.@pg list all artists
.The participant will return the error message: "I can't find the schema for the database. Please check the connection string with /conn".
However, this doesn't appear to be the actual error. @brianrandell was able to narrow this down to the following error thrown in the @pg extension...
Note that this works locally when run as a dev container.