Skip to content

Commit cdbcb0a

Browse files
committed
chore: add API key setup question to Exolab AI plugin configuration
## CHANGES - Add "openaiapi" to VSCode spell check dictionary - Include API key setup question in Exolab client - Configure API key as required field for setup - Maintain existing API base URL configuration order
1 parent f81cf19 commit cdbcb0a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"nometa",
8181
"numpy",
8282
"ollama",
83+
"openaiapi",
8384
"opencode",
8485
"openrouter",
8586
"otiai",

internal/plugins/ai/exolab/exolab.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ func NewClient() (ret *Client) {
1313
ret = &Client{}
1414
ret.Client = openai.NewClientCompatibleNoSetupQuestions("Exolab", ret.configure)
1515

16+
ret.ApiKey = ret.AddSetupQuestion("API Key", false)
1617
ret.ApiBaseURL = ret.AddSetupQuestion("API Base URL", true)
1718
ret.ApiBaseURL.Value = "http://localhost:52415"
1819

0 commit comments

Comments
 (0)