Update OpenAI configuration prompts for clarity and detail

- Revised descriptions and prompts for the OPENAI_BASE_URL and OPENAI_API_KEY environment variables to enhance user understanding.
- Added a URL reference for the OPENAI_API_KEY to guide users in obtaining their API key.
- Specified the use of the API key for voice transcription and custom endpoints, improving the overall configuration documentation.
This commit is contained in:
teknium1
2026-02-15 21:48:07 -08:00
parent 69aa35a51c
commit 2f34e6fd30

View File

@@ -195,15 +195,16 @@ OPTIONAL_ENV_VARS = {
"password": True,
},
"OPENAI_BASE_URL": {
"description": "Custom OpenAI-compatible API endpoint URL",
"prompt": "API base URL (e.g., https://api.example.com/v1)",
"description": "Custom OpenAI-compatible API endpoint (for VLLM/SGLang/etc.)",
"prompt": "OpenAI-compatible base URL (Enter to skip, only needed for custom endpoints)",
"url": None,
"password": False,
},
"OPENAI_API_KEY": {
"description": "API key for custom OpenAI-compatible endpoint",
"prompt": "API key for custom endpoint",
"url": None,
"description": "OpenAI API key (voice transcription + custom endpoint)",
"prompt": "OpenAI API Key",
"url": "https://platform.openai.com/api-keys",
"tools": ["voice_transcription"],
"password": True,
},
"SLACK_BOT_TOKEN": {