-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat API says message is too long in Codespaces #215590
Comments
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: microsoft/vscode-extension-samples#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 |
I hit this when I try to debug an extension inside a Codespace. For example:
Should I open a separate issue for this? |
Version: 1.91.0-insider
Commit: 0da59bd
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.
The text was updated successfully, but these errors were encountered: