add config
This commit is contained in:
parent
6eef4b2a78
commit
e586c1d500
35
package.json
35
package.json
@ -18,6 +18,41 @@
|
||||
"README.md"
|
||||
],
|
||||
"contributes": {
|
||||
"configuration": {
|
||||
"title": "DevChat",
|
||||
"properties": {
|
||||
"DevChat.llmModel": {
|
||||
"type": "string",
|
||||
"default": "OpenAI",
|
||||
"enum": ["OpenAI"],
|
||||
"description": "Select whose llm to use."
|
||||
},
|
||||
"DevChat.OpenAI.model": {
|
||||
"type": "string",
|
||||
"default": "gpt-4",
|
||||
"description": "Specify llm model",
|
||||
"when": "DevChat.llmModel == 'OpenAI'"
|
||||
},
|
||||
"DevChat.OpenAI.temperature": {
|
||||
"type": "number",
|
||||
"default": 0.2,
|
||||
"description": "Specify llm temperature",
|
||||
"when": "DevChat.llmModel == 'OpenAI'"
|
||||
},
|
||||
"DevChat.OpenAI.stream": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Specify llm stream",
|
||||
"when": "DevChat.llmModel == 'OpenAI'"
|
||||
},
|
||||
"DevChat.OpenAI.apiKey": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Open API Key",
|
||||
"when": "DevChat.llmModel == 'OpenAI'"
|
||||
}
|
||||
}
|
||||
},
|
||||
"views": {
|
||||
"explorer": [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user