mix ex_llm.config (ex_llm v0.8.1)
View SourceCircuit breaker configuration management tasks.
Available commands:
mix ex_llm.config list # List all circuit configurations
mix ex_llm.config show CIRCUIT # Show specific circuit configuration
mix ex_llm.config update CIRCUIT KEY=VALUE [KEY=VALUE ...] # Update circuit configuration
mix ex_llm.config profile CIRCUIT PROFILE # Apply configuration profile
mix ex_llm.config reset CIRCUIT # Reset circuit to default configuration
mix ex_llm.config rollback CIRCUIT # Rollback to previous configuration
mix ex_llm.config history CIRCUIT # Show configuration history
mix ex_llm.config profiles # List available profiles
mix ex_llm.config validate CONFIG_JSON # Validate configuration
Examples:
# List all circuits and their configurations
mix ex_llm.config list
# Show configuration for specific circuit
mix ex_llm.config show api_service
# Update circuit configuration
mix ex_llm.config update api_service failure_threshold=10 reset_timeout=60000
# Apply conservative profile
mix ex_llm.config profile api_service conservative
# Reset to defaults
mix ex_llm.config reset api_service
# Show configuration history
mix ex_llm.config history api_service
# List available profiles
mix ex_llm.config profiles
# Validate configuration JSON
mix ex_llm.config validate '{"failure_threshold": 5, "timeout": 30000}'
Summary
Functions
Callback implementation for Mix.Task.run/1
.
Functions
Callback implementation for Mix.Task.run/1
.