mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
add enum
This commit is contained in:
parent
cbe3d4bd45
commit
4747691e74
2 changed files with 11 additions and 8 deletions
|
|
@ -19,23 +19,25 @@
|
|||
"type": "string",
|
||||
"default": "anthropic",
|
||||
"description": "Choose an API provider",
|
||||
"enum": ["anthropic", "openai", "greptile", "ollama"]
|
||||
"enum": [
|
||||
"anthropic",
|
||||
"openai",
|
||||
"greptile",
|
||||
"ollama"
|
||||
]
|
||||
},
|
||||
"void.anthropicApiKey": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Anthropic API Key"
|
||||
},
|
||||
"void.anthropicModel":{
|
||||
"void.anthropicModel": {
|
||||
"type": "string",
|
||||
"default": "claude-3-5-sonnet-20240620",
|
||||
"description": "Anthropic Model to use",
|
||||
"enum": ["claude-3-5-sonnet-20240620"]
|
||||
},
|
||||
"void.anthropicMaxTokens":{
|
||||
"type": "number",
|
||||
"default": 1024,
|
||||
"description": "Max Token to use when using Anthropic API"
|
||||
"enum": [
|
||||
"claude-3-5-sonnet-20240620"
|
||||
]
|
||||
},
|
||||
"void.openAIApiKey": {
|
||||
"type": "string",
|
||||
|
|
|
|||
1
void
Submodule
1
void
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 6d513a1e602c8dea3f89f85cc5a04d840a0abfa9
|
||||
Loading…
Reference in a new issue