Merge branch 'main' of https://github.com/10Nates/ollama-autocoder into main
This commit is contained in:
commit
88e70e2bad
|
@ -16,7 +16,7 @@ let responsePreviewMaxTokens: number;
|
||||||
|
|
||||||
function updateVSConfig() {
|
function updateVSConfig() {
|
||||||
VSConfig = vscode.workspace.getConfiguration("ollama-autocoder");
|
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
|
apiModel = VSConfig.get("model") || "openhermes2.5-mistral:7b-q4_K_M"; // The model I tested with
|
||||||
apiSystemMessage = VSConfig.get("system message");
|
apiSystemMessage = VSConfig.get("system message");
|
||||||
numPredict = VSConfig.get("max tokens predicted") || 500;
|
numPredict = VSConfig.get("max tokens predicted") || 500;
|
||||||
|
|
Loading…
Reference in New Issue