From 9020d297450933ade801c82fbbafc2dc3141e005 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Fri, 20 Mar 2026 21:53:27 -0400 Subject: [PATCH] Update DeepSeek port from 1234 to 11434 in deepseek_brain.py --- src/commander_ai_lab/sim/deepseek_brain.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commander_ai_lab/sim/deepseek_brain.py b/src/commander_ai_lab/sim/deepseek_brain.py index 5e7f8b9..971c0c9 100644 --- a/src/commander_ai_lab/sim/deepseek_brain.py +++ b/src/commander_ai_lab/sim/deepseek_brain.py @@ -9,7 +9,7 @@ The LLM receives a structured game-state snapshot and returns a JSON action describing what to do this turn (play land, cast spell, attack, hold/pass, use removal, use board wipe, cast ramp, cast commander). -Default target: GPT-OSS 20B (Q4_K_M) via Ollama at 192.168.0.240:1234 +Default target: GPT-OSS 20B (Q4_K_M) via Ollama at 192.168.0.240:11434 ollama run gpt-oss:20b Also supports: @@ -58,17 +58,17 @@ class DeepSeekConfig: Example — LM Studio:: config = DeepSeekConfig( - api_base="http://192.168.0.240:1234", + api_base="http://192.168.0.240:11434", model="deepseek-r1-distill-qwen-8b", max_tokens=2048, # R1 needs room for blocks ) Example — Ollama (default):: - config = DeepSeekConfig() # points at 192.168.0.240:1234 / gpt-oss:20b + config = DeepSeekConfig() # points at 192.168.0.240:11434 / gpt-oss:20b """ # API endpoint — Ollama OpenAI-compatible base (NO /v1 suffix) - api_base: str = "http://192.168.0.240:1234" + api_base: str = "http://192.168.0.240:11434" # Model name as registered in Ollama model: str = "gpt-oss:20b"