Comments (11)
Hi ,
i have the same issue with the ollama provider. My config.json:
{ "title": "CodeLlama-7b", "model": "codellama-7b", "contextLength": 2048.0, "completionOptions": {}, "apiBase": "http://localhost:11434", "request_options": { "timeout": 1000 }, "provider": "ollama" },
GPT 3.5 is working as expected, but "/edit" with intellij is not working. Normal chat is working.
Kind Regards,
JΓΆrg
from continue.
This is my complete config, only the mistral object in the models was added by me, everything else was auto generated. Note that I've also tried with other models and in VSCode it does work.
{
"models": [
{
"title": "GPT-4",
"provider": "openai-free-trial",
"model": "gpt-4"
},
{
"title": "GPT-3.5-Turbo",
"provider": "openai-free-trial",
"model": "gpt-3.5-turbo"
},
{
"title": "mistral",
"provider": "ollama",
"model": "mistral-7b"
}
],
"slashCommands": [
{
"name": "edit",
"description": "Edit highlighted code",
"step": "EditHighlightedCodeStep"
},
{
"name": "comment",
"description": "Write comments for the highlighted code",
"step": "CommentCodeStep"
},
{
"name": "share",
"description": "Download and share this session",
"step": "ShareSessionStep"
},
{
"name": "cmd",
"description": "Generate a shell command",
"step": "GenerateShellCommandStep"
}
],
"customCommands": [
{
"name": "test",
"prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
"description": "Write unit tests for highlighted code"
}
],
"contextProviders": [
{ "name": "diff", "params": {} },
{
"name": "open",
"params": {}
},
{ "name": "terminal", "params": {} }
]
}
from continue.
@sestinj : Thanks, for me the 0.0.27 does work again, installed from disk.
from continue.
@azthec I'm having trouble reproducing, would you mind sharing your exact config.json (any API keys excluded)?
from continue.
I have the same problem using LM Studio as provider and the CodeLlama
models. No matter which setting I use. Only once did the Continue plugin manage to output the response stream. Every time I tried again, I got the error shown in the screenshot above. However, I can see that LM Studio is generating the responses.
This happens using the default configuration, i.e.:
{
"title": "CodeLlama-7b",
"model": "codellama-7b",
"contextLength": 2048.0,
"apiBase": "http://localhost:1234",
"completionOptions": {},
"provider": "lmstudio"
}
Same for the 13b
model π€·ββοΈ.
Edit I: I also tried to increase the timeout:
"request_options": { "timeout": 1000 },
But it seems to make no difference.
Edit II:
- OS: macOS Sonoma 14.2.1 and Windows 10 (latest updates)
- Continue: 0.0.26
- IDE: JetBrains Rider 2023.3.2
- LM Studio 0.2.10
from continue.
@SommerEngineering your config looks good, except contextLength should be an integer instead of a float (I understand that Continue is responsible for this, it's something we're fixing for the next version). I don't expect this to break things though.
I'm wondering if the proxy server might have somehow not started or died. Can you lsof -i :65433
to check whether there is a running process?
We use this so that requests can be made directly from the webview, otherwise they may be blocked depending on CORS policy. If it's not up, then this would certainly cause these errors.
from continue.
@SommerEngineering @azthec @jkritzen I found the problem with the timeout and have solved it in version 0.0.27. Unfortunately JetBrains tends not to accept plugin updates on weekends, so it won't be available through the store until Monday, but in the meantime you can install manually this .zip file by clicking the gear icon at the top of the plugin settings page and then "Install from Disk".
Would also be useful to get confirmation (or the opposite) that this actually solves the issue for you all
continue-intellij-extension-0.0.27.zip
from continue.
@sestinj I can confirm that it works properly now, you can close this issue
On a side note I've noticed its very hard to search the IntelliJ plugin list and find this project, at least in the built in plugin installer, which is what I assume most people use.
from continue.
Wonderful, it now works flawlessly. Thank you very much.
from continue.
Related Issues (20)
- [New IDE support] Support for Eclipse IDE family HOT 3
- [BUG] Unexpected Refocus on Textarea After Generating Response HOT 3
- Build.cmd is missing call to cd back out of server directory HOT 1
- Can not copy text from the side panel using the right click menu
- Keep Cursor in New Textarea After Chat Response Unless User Leaves Continue Extension HOT 4
- @codebase search option no longer available HOT 8
- Index additional context instead of providing them in the prompt directly HOT 1
- LM Studio config appending /v1/ to url request HOT 1
- Continue times out while waiting for response (setting timeout doesn't fix) HOT 5
- Doesn't work with VSCodium that's installed via Flatpack on Fedora HOT 3
- Optimization suggestions in Jetbrains tools HOT 3
- VScode extension won't start with versions 0.6.17 and 0.6.18 (lastest release) HOT 2
- Continue with VSCode1.70.2 in Windows7 shows nothing in the left side panel when clicking the sidebar HOT 2
- Wrong architecture installed for esbuild HOT 9
- add deepinfra provider HOT 3
- `continue_tutorial.py` file opens every time I restart a JetBrainsIDE HOT 2
- Adding mixtral creates wrong config HOT 1
- [BUG] Code Block Display and Diff Generation Issue with /edit Command in Markdown Documents HOT 1
- Support AzureAD (Entra) based authentication for Azure OpenAI HOT 3
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.