docs: 📝 update codellama documentation
This commit is contained in:
parent
8a37d5865b
commit
ba2e684f81
2 changed files with 13 additions and 5 deletions
|
|
@ -79,8 +79,9 @@ config = ContinueConfig(
|
|||
...
|
||||
models=Models(default=OpenAI(
|
||||
model="CodeLlama-7b-Instruct-hf",
|
||||
openai_server_info={'api_base': 'http://localhost:8000/v1'})
|
||||
|
||||
api_base="http://localhost:8000/v1"
|
||||
))
|
||||
)
|
||||
```
|
||||
|
||||
4. Reload the VS Code window for changes to take effect.
|
||||
|
|
|
|||
|
|
@ -298,11 +298,18 @@ class IdeProtocolClient {
|
|||
});
|
||||
break;
|
||||
case "listDirectoryContents":
|
||||
messenger.send("listDirectoryContents", {
|
||||
contents: await this.getDirectoryContents(
|
||||
let contents: string[] = [];
|
||||
try {
|
||||
contents = await this.getDirectoryContents(
|
||||
data.directory,
|
||||
data.recursive || false
|
||||
),
|
||||
);
|
||||
} catch (e) {
|
||||
console.log("Error listing directory contents: ", e);
|
||||
contents = [];
|
||||
}
|
||||
messenger.send("listDirectoryContents", {
|
||||
contents,
|
||||
});
|
||||
break;
|
||||
case "editFile":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue