Merge pull request #5962 from continuedev/nate/vllm-use-completions
Support completions with proxy
This commit is contained in:
commit
21936014eb
5 changed files with 7 additions and 6 deletions
|
|
@ -85,7 +85,7 @@ class ContinueProxy extends OpenAI {
|
|||
}
|
||||
|
||||
supportsCompletions(): boolean {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
supportsFim(): boolean {
|
||||
|
|
|
|||
|
|
@ -550,8 +550,7 @@ models:
|
|||
- name: qwen2.5-coder-7b
|
||||
<<: *model_defaults
|
||||
model: qwen2.5-coder-7b
|
||||
env:
|
||||
useLegacyCompletionsEndpoint: false
|
||||
useLegacyCompletionsEndpoint: false
|
||||
roles:
|
||||
- autocomplete
|
||||
```
|
||||
|
|
|
|||
3
extensions/vscode/package-lock.json
generated
3
extensions/vscode/package-lock.json
generated
|
|
@ -199,7 +199,8 @@
|
|||
"onnxruntime-common": "1.14.0",
|
||||
"onnxruntime-web": "1.14.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"typescript": "^5.6.3"
|
||||
"typescript": "^5.6.3",
|
||||
"vitest": "^3.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "continue",
|
||||
"icon": "media/icon.png",
|
||||
"author": "Continue Dev, Inc",
|
||||
"version": "1.1.41",
|
||||
"version": "1.1.42",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/continuedev/continue"
|
||||
|
|
|
|||
3
gui/package-lock.json
generated
3
gui/package-lock.json
generated
|
|
@ -203,7 +203,8 @@
|
|||
"onnxruntime-common": "1.14.0",
|
||||
"onnxruntime-web": "1.14.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"typescript": "^5.6.3"
|
||||
"typescript": "^5.6.3",
|
||||
"vitest": "^3.1.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.19.0"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue