Skip to main content

Module cli_utils

Module cli_utils 

Source
Expand description

CLI utility functions used throughout the application and tests

Functionsยง

is_code_file
Determine if a file extension represents a code file
is_debug_mode
Check if debug mode is enabled
read_and_format_attachments
Read and format attachment files for inclusion in prompts
resolve_model_and_provider
Resolve model and provider from configuration and CLI overrides
set_debug_mode
Set the global debug mode