File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ CACHE_PATH=/tmp/shell_gpt/cache
395395# Request timeout in seconds.
396396REQUEST_TIMEOUT=60
397397# Default OpenAI model to use.
398- DEFAULT_MODEL=gpt-3.5-turbo
398+ DEFAULT_MODEL=gpt-4o
399399# Default color for shell and code completions.
400400DEFAULT_COLOR=magenta
401401# When in --shell mode, default to "Y" for no input.
@@ -422,7 +422,7 @@ Possible options for `CODE_THEME`: https://pygments.org/styles/
422422│ prompt [PROMPT] The prompt to generate completions for. │
423423╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
424424╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────╮
425- │ --model TEXT Large language model to use. [default: gpt-4-1106-preview] │
425+ │ --model TEXT Large language model to use. [default: gpt-4o] │
426426│ --temperature FLOAT RANGE [0.0<=x<=2.0] Randomness of generated output. [default: 0.0] │
427427│ --top-p FLOAT RANGE [0.0<=x<=1.0] Limits highest probable tokens (words). [default: 1.0] │
428428│ --md --no-md Prettify markdown output. [default: md] │
Original file line number Diff line number Diff line change 2222 "CHAT_CACHE_LENGTH" : int (os .getenv ("CHAT_CACHE_LENGTH" , "100" )),
2323 "CACHE_LENGTH" : int (os .getenv ("CHAT_CACHE_LENGTH" , "100" )),
2424 "REQUEST_TIMEOUT" : int (os .getenv ("REQUEST_TIMEOUT" , "60" )),
25- "DEFAULT_MODEL" : os .getenv ("DEFAULT_MODEL" , "gpt-4-1106-preview " ),
25+ "DEFAULT_MODEL" : os .getenv ("DEFAULT_MODEL" , "gpt-4o " ),
2626 "DEFAULT_COLOR" : os .getenv ("DEFAULT_COLOR" , "magenta" ),
2727 "ROLE_STORAGE_PATH" : os .getenv ("ROLE_STORAGE_PATH" , str (ROLE_STORAGE_PATH )),
2828 "DEFAULT_EXECUTE_SHELL_CMD" : os .getenv ("DEFAULT_EXECUTE_SHELL_CMD" , "false" ),
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def setUpClass(cls):
3535 # Response streaming should be enabled for these tests.
3636 assert cfg .get ("DISABLE_STREAMING" ) == "false"
3737 # ShellGPT optimised and tested with gpt-4 turbo.
38- assert cfg .get ("DEFAULT_MODEL" ) == "gpt-4-1106-preview "
38+ assert cfg .get ("DEFAULT_MODEL" ) == "gpt-4o "
3939 # Make sure we will not call any functions.
4040 assert cfg .get ("OPENAI_USE_FUNCTIONS" ) == "false"
4141
You can’t perform that action at this time.
0 commit comments