From cdbcb0a5121f748043f83916ff88b7c6ae2bb34f Mon Sep 17 00:00:00 2001 From: Kayvan Sylvan Date: Fri, 18 Jul 2025 12:40:55 -0700 Subject: [PATCH] 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 --- .vscode/settings.json | 1 + internal/plugins/ai/exolab/exolab.go | 1 + 2 files changed, 2 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 20fba465..2ba6c5ff 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -80,6 +80,7 @@ "nometa", "numpy", "ollama", + "openaiapi", "opencode", "openrouter", "otiai", diff --git a/internal/plugins/ai/exolab/exolab.go b/internal/plugins/ai/exolab/exolab.go index 5bd02108..b3f4fabc 100644 --- a/internal/plugins/ai/exolab/exolab.go +++ b/internal/plugins/ai/exolab/exolab.go @@ -13,6 +13,7 @@ func NewClient() (ret *Client) { ret = &Client{} ret.Client = openai.NewClientCompatibleNoSetupQuestions("Exolab", ret.configure) + ret.ApiKey = ret.AddSetupQuestion("API Key", false) ret.ApiBaseURL = ret.AddSetupQuestion("API Base URL", true) ret.ApiBaseURL.Value = "http://localhost:52415"