Comments (2)
@frblondin This is now the default behavior. Closing the issue, but we still have the other open in case you run into any related problems
from continue.
@frblondin Totally agreed. As mentioned in the other issue I'm working on making this happen.
For now, we actually have two options that might partially solve your problem:
- Use
sdk.ide
, which is passed to therun
method of a slash command and gives you access to many methods like reading/writing files, running commands, etc... - There is a
runInNodeJs
option on slash commands that will do what you want. Same "dynamic import" rules apply until I make the change
export interface SlashCommand {
name: string;
description: string;
params?: { [key: string]: any };
run: (sdk: ContinueSDK) => AsyncGenerator<string | undefined>;
// If true, this command will be run in NodeJs and have access to the filesystem and other Node-only APIs
// You must make sure to dynamically import any Node-only dependencies in your command so that it doesn't break in the browser
runInNodeJs?: boolean;
}
from continue.
Related Issues (20)
- 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
- A way to disable hints inlined in the code HOT 2
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.