This commit implements a clean architecture where environment variables are only read, never set, ensuring compatibility with other ComfyUI packages. The changes: - Remove all code that sets global environment variables - Clean up config.yaml to remove API key placeholders - Add documentation for safe environment handling - Add comprehensive tests to verify non-polluting behavior - Ensure backward compatibility for other packages The commit includes detailed docs explaining the clean architecture and safety guarantees for package compatibility.
25 lines
649 B
Bash
Executable File
25 lines
649 B
Bash
Executable File
# Environment Variables for ComfyUI_LiteLLM
|
|
# Copy this file to .env and fill in your actual API keys
|
|
|
|
# Kluster.ai API Configuration
|
|
KLUSTER_API_KEY=your-kluster-api-key-here
|
|
KLUSTER_BASE_URL=https://api.kluster.ai/v1
|
|
|
|
# OpenAI API Configuration
|
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
OPENAI_BASE_URL=https://api.openai.com/v1
|
|
|
|
# Anthropic API Configuration
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key-here
|
|
|
|
# Cohere API Configuration
|
|
COHERE_API_KEY=your-cohere-api-key-here
|
|
|
|
# Test Configuration
|
|
# Set to 'true' to run integration tests that require real API calls
|
|
RUN_INTEGRATION_TESTS=false
|
|
|
|
# Development Configuration
|
|
DEBUG=false
|
|
LOG_LEVEL=INFO
|