This commit is contained in:
Nathan Hedge 2024-01-09 14:24:40 -06:00
commit 88e70e2bad
No known key found for this signature in database
GPG Key ID: 1ADBA36D6E304C5C
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ let responsePreviewMaxTokens: number;
function updateVSConfig() {
VSConfig = vscode.workspace.getConfiguration("ollama-autocoder");
apiEndpoint = VSConfig.get("apiEndpoint") || "http://localhost:11434/api/generate";
apiEndpoint = VSConfig.get("endpoint") || "http://localhost:11434/api/generate";
apiModel = VSConfig.get("model") || "openhermes2.5-mistral:7b-q4_K_M"; // The model I tested with
apiSystemMessage = VSConfig.get("system message");
numPredict = VSConfig.get("max tokens predicted") || 500;