Configuration

Imports

_cfg_path()
Path('/home/natedawg/.config/shell_sage/shell_sage.conf')

source

ShellSageConfig

 ShellSageConfig (model:str='claude-sonnet-4-5-20250929', search:str='',
                  think:str='', trust:str='', mode:str='default',
                  api_base:str='', api_key:str='', history_lines:int=-1,
                  code_theme:str='monokai', code_lexer:str='python',
                  log:bool=False)
cfg = ShellSageConfig()
cfg
ShellSageConfig(model='claude-sonnet-4-5-20250929', search='', mode='default', api_base='', api_key='', history_lines=-1, code_theme='monokai', code_lexer='python', log=False)

source

get_cfg

 get_cfg ()
# cfg = get_cfg()
# cfg