Merge branch 'main' of https://github.com/continuedev/continue
This commit is contained in:
commit
e6d4e5f60b
3 changed files with 18 additions and 3 deletions
|
|
@ -67,3 +67,18 @@ config = ContinueConfig(
|
|||
```
|
||||
|
||||
3. Reload the VS Code window for changes to take effect
|
||||
|
||||
## FastChat API
|
||||
1. Setup the FastChat API (https://github.com/lm-sys/FastChat) to use one of the Codellama models on Hugging Face (e.g: codellama/CodeLlama-7b-Instruct-hf).
|
||||
2. Start the OpenAI compatible API (ref: https://github.com/lm-sys/FastChat/blob/main/docs/openai_api.md).
|
||||
3. Change your Continue config file to look like this:
|
||||
|
||||
```python
|
||||
config = ContinueConfig(
|
||||
...
|
||||
models=Models(default=OpenAI(
|
||||
model="CodeLlama-7b-Instruct-hf",
|
||||
openai_server_info={'api_base': 'http://localhost:8000/v1'})
|
||||
|
||||
```
|
||||
4. Reload the VS Code window for changes to take effect.
|
||||
|
|
|
|||
4
extension/package-lock.json
generated
4
extension/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "0.0.354",
|
||||
"version": "0.0.355",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "0.0.354",
|
||||
"version": "0.0.355",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@electron/rebuild": "^3.2.10",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"icon": "media/terminal-continue.png",
|
||||
"version": "0.0.354",
|
||||
"version": "0.0.355",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/continuedev/continue"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue