Comments (6)
oh wait! Actually I found a solution: const execSync = (await require("child_process")).execSync;
Using require instead of import worked for me.
Everything else I said above is still true, I hope to let you just use normal imports within the next couple of days
from continue.
I confirm that provided workaround (with require) works. Thanks for working on using NodeJS in all cases!
I suggest to keep this issue open until you complete this work.
from continue.
@frblondin The work in moving to NodeJS is now done and available in pre-release 0.9.47.
I've confirmed that I could use import { execSync } from "child_process";
at the top of the file, but I'll wait to close this issue until I know it's good for you as well
from continue.
I confirm. Brillant!
from continue.
@frblondin The console output in developer tools actually does show logs from NodeJS as well, so nothing wrong here.
As for the other errors I'm running myself and will update in a minute, but looks related to just some mismatch between environments in debug vs. extension modes
from continue.
Ok same things you said happened when I tried. Did a bit of digging around, and it looks like VS Code, or more likely Electron itself, is using node:vm
and not setting this parameter. This is something out of our control.
Luckily I'm working on a fix so you don't have to do dynamic imports (config.ts will run only in NodeJS, not the browser). I plan to spend the rest of today on shipping our first version of tab-autocomplete, but if you're willing to give me another day or two this will be done and there shouldn't be any problems.
And one other thing, the LLM will only see the content
that you specify, so I would change to content: commit
in the objects you are returning from parseGitLog
.
from continue.
Related Issues (20)
- Dev containers compatibility HOT 1
- Autocomplete using Azure Open AI throws error $.stop' is invalid HOT 2
- Claude 3 Opus uses incorrect endpoint url HOT 2
- claude 3 remains stuck on jetbrains ide HOT 1
- Embeddings Provider has typo in model configuration params HOT 1
- Please Add Support For langfuse and maybe for other similar type of foss solutions which help us in get analytics for our usage of api it will be very helpful for all :-))
- Plugin steals focus in all JetBrains IDEs on Linux HOT 2
- Git Diff Context Provider Hash Awareness
- Extension host terminated unexpectedly 3 times within the last 5 minutes. HOT 10
- Using a tab completions template (moustache) encodes special characters to html HOT 1
- Support for Google models through Vertexai HOT 2
- [CON-218] Continue doesn't handle rate-limiting for embeddings providers HOT 4
- vscode - inline tip always shown HOT 2
- Unresponsive chat when using remote self-hosted Ollama server HOT 2
- VSCode extension: If possible, avoid using "+ L" in keybindings
- Link config.json sections to relevant documentation HOT 1
- Remove paste and cut options from vscode right click HOT 1
- When using /edit in IntelliJ on Mac, original first line is preserved even if it was changed.
- Codebase retrieval mode doesn't properly answer using the context HOT 1
- windows idea no support utf8.Entering and exiting the server with garbled characters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from continue.