config
Class info¶
🛈 DocStrings¶
add_config
¶
add_config(
name: str = Argument(help="Name for the config"),
path: str = Argument(help="Path to config file"),
) -> None
Add a new named config (llmling config add
Paths can be UPath protocol paths (protocol://path) or local file paths.
Source code in src/llmling/cli/config.py
init_config
¶
init_config(
output: str = Argument(help="Path to write configuration file"),
interactive: bool = Option(
False, "--interactive/--no-interactive", help="Use interactive configuration wizard"
),
)
Initialize a new configuration file with basic settings.
Creates a new configuration file at the specified path. Use --interactive for a guided setup process.
Source code in src/llmling/cli/config.py
list_configs
¶
List all registered configs.
Source code in src/llmling/cli/config.py
remove_config
¶
Remove a named config.
Source code in src/llmling/cli/config.py
set_active
¶
Set the active config.
Source code in src/llmling/cli/config.py
show_config
¶
show_config(
name: str | None = Argument(None, help="Name of config to show (shows active if not provided)"),
output_format: OutputFormat = output_format_opt,
resolve: bool = Option(
False, "--resolve/--no-resolve", help="Show resolved configuration with expanded toolsets"
),
) -> None
Show current configuration.
With --resolve (default), shows the fully resolved configuration including expanded toolsets and loaded resources.