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