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.
14 lines
566 B
YAML
Executable File
14 lines
566 B
YAML
Executable File
# ComfyUI_LiteLLM Configuration
|
|
# This file contains default settings. For API keys and sensitive data,
|
|
# use environment variables or create a .env file (see .env.example)
|
|
|
|
tmp_dir: comfy_path//data
|
|
|
|
# Base URLs for different providers
|
|
# API keys should be set as system environment variables, not in this config file
|
|
# For testing, use the .env file
|
|
OPENAI_BASE_URL: https://api.openai.com/v1/
|
|
KLUSTER_BASE_URL: https://api.kluster.ai/v1
|
|
# Internal configuration only - do not add API keys here
|
|
# This prevents interference with other ComfyUI custom node packages
|