Integrate OpenCode CLI with ollama-cloud/gemma4:31b

This commit is contained in:
Adolfo Reyna
2026-08-07 19:10:32 -04:00
parent 4773b93779
commit 40a4107bc9
3 changed files with 217 additions and 18 deletions
+5 -5
View File
@@ -171,11 +171,11 @@ def check_mlx_whisper(synthesized):
record("mlx whisper (optional)", matches(heard), f"heard {heard!r}")
async def check_ollama_llm():
from ollama_llm import probe_ollama
def check_opencode_llm():
from opencode_llm import probe_opencode
available, reason = await probe_ollama(model="gemma4:31b")
record("ollama llm (optional)", available, reason)
available, reason = probe_opencode(model="ollama-cloud/gemma4:31b")
record("opencode llm", available, reason)
def check_macos_llm():
@@ -238,7 +238,7 @@ async def main():
check_apple_stt(synthesized)
check_mlx_whisper(synthesized)
check_macos_llm()
await check_ollama_llm()
check_opencode_llm()
await check_claude()
required_failures = [