Skip to content

Commit

Permalink
deploy: 57f796d
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 7, 2024
0 parents commit 52cb9d2
Show file tree
Hide file tree
Showing 25 changed files with 7,128 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
686 changes: 686 additions & 0 deletions config.html

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions config.html.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# ShellSage Configuration


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Imports

``` python
_cfg_path()
```

Path('/Users/nathan/.config/shell_sage/shell_sage.conf')

``` python
providers
```

{'anthropic': ['claude-3-opus-20240229',
'claude-3-5-sonnet-20241022',
'claude-3-haiku-20240307',
'claude-3-5-haiku-20241022'],
'openai': ('o1-preview',
'o1-mini',
'gpt-4o',
'gpt-4o-mini',
'gpt-4-turbo',
'gpt-4',
'gpt-4-32k',
'gpt-3.5-turbo',
'gpt-3.5-turbo-instruct')}

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/shell_sage/blob/main/shell_sage/config.py#L29"
target="_blank" style="float:right; font-size:smaller">source</a>

### ShellSageConfig

> ShellSageConfig (model:str='claude-3-5-sonnet-20240620',
> provider:str='anthropic', history_lines:int=-1,
> code_theme:str='monokai', code_lexer:str='python',
> sassy_mode:bool=False, verbosity:int=0)
``` python
cfg = ShellSageConfig()
cfg
```

ShellSageConfig(model='claude-3-5-sonnet-20241022', provider='anthropic', history_lines=-1, code_theme='monokai', code_lexer='python', sassy_mode=False, verbosity=0)

------------------------------------------------------------------------

<a
href="https://github.com/AnswerDotAI/shell_sage/blob/main/shell_sage/config.py#L39"
target="_blank" style="float:right; font-size:smaller">source</a>

### get_cfg

> get_cfg ()
``` python
cfg = get_cfg()
cfg
```

{'model': 'claude-3-5-sonnet-20241022', 'provider': 'anthropic', 'history_lines': '-1', 'code_theme': 'monokai', 'code_lexer': 'python', 'sassy_mode': 'False', 'verbosity': '0'}
1,006 changes: 1,006 additions & 0 deletions core.html

Large diffs are not rendered by default.

Loading

0 comments on commit 52cb9d2

Please sign in to comment.