Configuration

Imports

_cfg_path()
Path('/Users/keremturgutlu/.config/shell_sage/shell_sage.conf')

ShellSageConfig


def ShellSageConfig(
    model:str='claude-sonnet-4-6', search:str='', think:str='', trust:str='', mode:str='default', api_base:str='',
    api_key:str='', backend:str='lisette', vendor_name:str='', history_lines:int=-1, code_theme:str='monokai',
    code_lexer:str='python', log:bool=False, safecmd:bool=False
)->None:
cfg = ShellSageConfig()
cfg
ShellSageConfig(model='claude-sonnet-4-6', search='', think='', trust='', mode='default', api_base='', api_key='', backend='lisette', vendor_name='', history_lines=-1, code_theme='monokai', code_lexer='python', log=False, safecmd=False)

get_cfg


def get_cfg(
    
):

Call self as a function.

cfg = get_cfg()
cfg
{'model': 'claude-sonnet-4-6', 'search': '', 'think': '', 'trust': '', 'mode': 'default', 'api_base': '', 'api_key': '', 'backend': 'lisette', 'vendor_name': '', 'history_lines': '-1', 'code_theme': 'monokai', 'code_lexer': 'python', 'log': 'False', 'safecmd': 'False'}