Skip to content
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

[CON-222] "Headers not defined" in older versions of VS Code #1011

Open
2 of 3 tasks
Tracked by #1009
sestinj opened this issue Mar 22, 2024 · 1 comment
Open
2 of 3 tasks
Tracked by #1009

[CON-222] "Headers not defined" in older versions of VS Code #1011

sestinj opened this issue Mar 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sestinj
Copy link
Contributor

sestinj commented Mar 22, 2024

Before submitting your bug report

Relevant environment info

- OS:*
- Continue:*
- IDE:VS Code (older versions, don't know exactly the cutoff)

Description

Older versions of VS Code (presumably because they run older versions of Node.js) cause this "Headers not found" error to appear as a popup. Here is an example of this happening to a user. Very reliably, upgrading VS Code solves this problem.

There might be an obvious change we can make to ensure compatibility.

If not, we might be able to handle the error more gracefully.

If neither, it would be useful to have brief documentation to share with folks who encounter the problem (explaining why the Node compatibility exists).

From SyncLinear.com | CON-222

@sestinj sestinj added the bug Something isn't working label Mar 22, 2024
@sestinj sestinj changed the title "Headers not defined" in older versions of VS Code [CON-222] "Headers not defined" in older versions of VS Code Mar 22, 2024
@djgould
Copy link
Contributor

djgould commented May 6, 2024

Just tested this and I can reliably reproduce on VSCode v1.70 from July 2022 with continue v0.8.25.

However, I cannot reproduce with the pre-release installation or the dev build so I am assuming this has been fixed somehow. I can successfully talk to ollama.

Reproduction steps:

  • download and run VSCode v1.70
  • install continue extension (current release v0.8.25) from extensions menu
  • Select "Fully local" and click continue
  • Headers is not defined message appears
  • go to extension page and select "Switch to pre-release"
  • reload vscode
  • "headers is not defined" does not appear, and the extension works properly with ollama

I don't see any PRs explicitly mentioning a fix for this, so maybe it was inadvertently fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants