From f52c5c1c333bdf9c277c0adb202093ef67554122 Mon Sep 17 00:00:00 2001 From: Daniel Copley Date: Sat, 12 Sep 2026 23:37:27 -0700 Subject: [PATCH] chore: update default models to current frontier options --- README.md | 4 ++-- src/shelloracle/providers/deepseek.py | 2 +- src/shelloracle/providers/google.py | 2 +- src/shelloracle/providers/localai.py | 2 +- src/shelloracle/providers/ollama.py | 2 +- src/shelloracle/providers/openai.py | 2 +- src/shelloracle/providers/xai.py | 2 +- tests/providers/test_deepseek.py | 4 ++-- tests/providers/test_localai.py | 4 ++-- tests/providers/test_ollama.py | 4 ++-- tests/providers/test_openai.py | 4 ++-- tests/providers/test_xai.py | 4 ++-- tests/test_config.py | 6 +++--- 13 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 2d55d54..62a77df 100644 --- a/README.md +++ b/README.md @@ -85,10 +85,10 @@ running ShellOracle with this method will not automatically insert the result in ### Ollama Before using ShellOracle with Ollama, pull the model you chose in the configure step. -For example, if you chose `qwen2.5-coder`, run: +For example, if you chose `gemma4:12b`, run: ```shell -ollama pull qwen2.5-coder +ollama pull gemma4:12b ``` Refer to the [Ollama docs](https://ollama.ai) for installation, available models, and usage. diff --git a/src/shelloracle/providers/deepseek.py b/src/shelloracle/providers/deepseek.py index c27e66a..d3956c0 100644 --- a/src/shelloracle/providers/deepseek.py +++ b/src/shelloracle/providers/deepseek.py @@ -14,7 +14,7 @@ class Deepseek(Provider): name = "Deepseek" api_key = Setting(default="") - model = Setting(default="deepseek-chat") + model = Setting(default="deepseek-flash") def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) diff --git a/src/shelloracle/providers/google.py b/src/shelloracle/providers/google.py index bbe4985..e75f9c5 100644 --- a/src/shelloracle/providers/google.py +++ b/src/shelloracle/providers/google.py @@ -15,7 +15,7 @@ class Google(Provider): name = "Google" api_key = Setting(default="") - model = Setting(default="gemini-2.5-flash") # Default model to use + model = Setting(default="gemini-3.8-flash") # Default model to use def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) diff --git a/src/shelloracle/providers/localai.py b/src/shelloracle/providers/localai.py index f507458..a7b391c 100644 --- a/src/shelloracle/providers/localai.py +++ b/src/shelloracle/providers/localai.py @@ -15,7 +15,7 @@ class LocalAI(Provider): host = Setting(default="localhost") port = Setting(default=8080) - model = Setting(default="mistral") + model = Setting(default="qwen3.8-9b-q4") @property def endpoint(self) -> str: diff --git a/src/shelloracle/providers/ollama.py b/src/shelloracle/providers/ollama.py index fbc83b9..8536ac6 100644 --- a/src/shelloracle/providers/ollama.py +++ b/src/shelloracle/providers/ollama.py @@ -56,7 +56,7 @@ class Ollama(Provider): host = Setting(default="localhost") port = Setting(default=11434) - model = Setting(default="qwen2.5-coder") + model = Setting(default="gemma4:12b") @property def endpoint(self) -> str: diff --git a/src/shelloracle/providers/openai.py b/src/shelloracle/providers/openai.py index 70a38d1..2dd4ef9 100644 --- a/src/shelloracle/providers/openai.py +++ b/src/shelloracle/providers/openai.py @@ -14,7 +14,7 @@ class OpenAI(Provider): name = "OpenAI" api_key = Setting(default="") - model = Setting(default="gpt-4.1-mini") + model = Setting(default="gpt-5.6-luna") def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) diff --git a/src/shelloracle/providers/xai.py b/src/shelloracle/providers/xai.py index 93b347c..85f1ac8 100644 --- a/src/shelloracle/providers/xai.py +++ b/src/shelloracle/providers/xai.py @@ -14,7 +14,7 @@ class XAI(Provider): name = "XAI" api_key = Setting(default="") - model = Setting(default="grok-3-mini-fast") + model = Setting(default="grok-4.20-0309-non-reasoning") def __init__(self, *args, **kwargs) -> None: super().__init__(*args, **kwargs) diff --git a/tests/providers/test_deepseek.py b/tests/providers/test_deepseek.py index f14509a..8ac9e54 100644 --- a/tests/providers/test_deepseek.py +++ b/tests/providers/test_deepseek.py @@ -12,7 +12,7 @@ def deepseek_config(self): "provider": { "Deepseek": { "api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "model": "deepseek-chat", + "model": "deepseek-flash", } }, } @@ -32,7 +32,7 @@ def test_api_key(self, deepseek_instance): ) def test_model(self, deepseek_instance): - assert deepseek_instance.model == "deepseek-chat" + assert deepseek_instance.model == "deepseek-flash" @pytest.mark.asyncio async def test_generate(self, mock_asyncopenai, deepseek_instance): diff --git a/tests/providers/test_localai.py b/tests/providers/test_localai.py index b887026..808e807 100644 --- a/tests/providers/test_localai.py +++ b/tests/providers/test_localai.py @@ -8,7 +8,7 @@ class TestOpenAI: def localai_config(self): return { "shelloracle": {"provider": "LocalAI"}, - "provider": {"LocalAI": {"host": "localhost", "port": 8080, "model": "mistral"}}, + "provider": {"LocalAI": {"host": "localhost", "port": 8080, "model": "qwen3.8-9b-q4"}}, } @pytest.fixture @@ -19,7 +19,7 @@ def test_name(self): assert LocalAI.name == "LocalAI" def test_model(self, localai_instance): - assert localai_instance.model == "mistral" + assert localai_instance.model == "qwen3.8-9b-q4" @pytest.mark.asyncio async def test_generate(self, mock_asyncopenai, localai_instance): diff --git a/tests/providers/test_ollama.py b/tests/providers/test_ollama.py index 646146f..a8eab61 100644 --- a/tests/providers/test_ollama.py +++ b/tests/providers/test_ollama.py @@ -10,7 +10,7 @@ class TestOllama: def ollama_config(self): config = { "shelloracle": {"provider": "Ollama"}, - "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "qwen2.5-coder"}}, + "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "gemma4:12b"}}, } return Configuration(config) @@ -28,7 +28,7 @@ def test_port(self, ollama_instance): assert ollama_instance.port == 11434 def test_model(self, ollama_instance): - assert ollama_instance.model == "qwen2.5-coder" + assert ollama_instance.model == "gemma4:12b" def test_endpoint(self, ollama_instance): assert ollama_instance.endpoint == "http://localhost:11434/api/generate" diff --git a/tests/providers/test_openai.py b/tests/providers/test_openai.py index 6c3f1a7..9d355ae 100644 --- a/tests/providers/test_openai.py +++ b/tests/providers/test_openai.py @@ -10,7 +10,7 @@ def openai_config(self): config = { "shelloracle": {"provider": "OpenAI"}, "provider": { - "OpenAI": {"api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "model": "gpt-4.1-mini"} + "OpenAI": {"api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "model": "gpt-5.6-luna"} }, } return Configuration(config) @@ -26,7 +26,7 @@ def test_api_key(self, openai_instance): assert openai_instance.api_key == "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" def test_model(self, openai_instance): - assert openai_instance.model == "gpt-4.1-mini" + assert openai_instance.model == "gpt-5.6-luna" @pytest.mark.asyncio async def test_generate(self, mock_asyncopenai, openai_instance): diff --git a/tests/providers/test_xai.py b/tests/providers/test_xai.py index f291467..67c6949 100644 --- a/tests/providers/test_xai.py +++ b/tests/providers/test_xai.py @@ -12,7 +12,7 @@ def xai_config(self): "provider": { "XAI": { "api_key": "xai-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "model": "grok-3-mini-fast", + "model": "grok-4.20-0309-non-reasoning", } }, } @@ -32,7 +32,7 @@ def test_api_key(self, xai_instance): ) def test_model(self, xai_instance): - assert xai_instance.model == "grok-3-mini-fast" + assert xai_instance.model == "grok-4.20-0309-non-reasoning" @pytest.mark.asyncio async def test_generate(self, mock_asyncopenai, xai_instance): diff --git a/tests/test_config.py b/tests/test_config.py index 338fbd1..ddadaa3 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -12,7 +12,7 @@ def default_config(self): return Configuration( { "shelloracle": {"provider": "Ollama", "spinner_style": "earth"}, - "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "qwen2.5-coder"}}, + "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "gemma4:12b"}}, } ) @@ -42,7 +42,7 @@ def test_no_spinner_style(self, caplog): config = Configuration( { "shelloracle": {"provider": "Ollama"}, - "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "qwen2.5-coder"}}, + "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "gemma4:12b"}}, } ) assert config.spinner_style is None @@ -52,7 +52,7 @@ def test_invalid_spinner_style(self, caplog): config = Configuration( { "shelloracle": {"provider": "Ollama", "spinner_style": "invalid"}, - "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "qwen2.5-coder"}}, + "provider": {"Ollama": {"host": "localhost", "port": 11434, "model": "gemma4:12b"}}, } ) assert config.spinner_style is None