fixed extension configs
This commit is contained in:
parent
2d1efd339e
commit
bdb615876d
3 changed files with 89 additions and 23 deletions
59
package.json
59
package.json
|
@ -20,7 +20,64 @@
|
|||
"main": "./dist/extension.js",
|
||||
"contributes": {
|
||||
"commands": [
|
||||
]
|
||||
],
|
||||
"configuration": {
|
||||
"title": "Ai Code",
|
||||
"properties": {
|
||||
"aiCode.ollamaHost": {
|
||||
"type": "string",
|
||||
"description": "host for ollama",
|
||||
"default": "http://localhost:11434"
|
||||
},
|
||||
"aiCode.inlineCompletion.enable": {
|
||||
"type": "boolean",
|
||||
"description": "should auto complete be enabled",
|
||||
"default": true
|
||||
},
|
||||
"aiCode.inlineCompletion.model": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"default": "deepseek-coder:6.7b"
|
||||
},
|
||||
"aiCode.inlineCompletion.prefixStart": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"default": "<prefixStart>"
|
||||
},
|
||||
"aiCode.inlineCompletion.prefixEnds": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"default": "<prefixStart>,</prefixStart>,<prefixEnd>,</prefixEnd>"
|
||||
},
|
||||
"aiCode.inlineCompletion.suffixStart": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"default": "<suffixStart>"
|
||||
},
|
||||
"aiCode.inlineCompletion.suffixEnd": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"default": "</suffixStart>"
|
||||
},
|
||||
"aiCode.inlineCompletion.maxTokens": {
|
||||
"type": "number",
|
||||
"description": "",
|
||||
"default": 50,
|
||||
"minimum": 1
|
||||
},
|
||||
"aiCode.inlineCompletion.generationTimeout": {
|
||||
"type": "number",
|
||||
"description": "",
|
||||
"default": 200,
|
||||
"minimum": 1
|
||||
},
|
||||
"aiCode.inlineCompletion.triePruneTimeout": {
|
||||
"type": "number",
|
||||
"description": "",
|
||||
"default": 10000
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run package",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue