diff --git a/.gitignore b/.gitignore index 02bf444..72b7d6a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ inventory_memory.json ore_patch_memory.json agent_last_action_memory.json .cursor/.worktrees/ +.cursor \ No newline at end of file diff --git a/ai_planner.py b/ai_planner.py index d34642d..b1c2991 100644 --- a/ai_planner.py +++ b/ai_planner.py @@ -23,7 +23,7 @@ import httpx OLLAMA_MODEL = os.environ.get("OLLAMA_MODEL", "qwen3.5:9b") -OLLAMA_HOST = os.environ.get("OLLAMA_HOST", "http://192.168.50.67:11434") +OLLAMA_HOST = os.environ.get("OLLAMA_HOST", "http://192.168.50.61:1234") SYSTEM_PROMPT = """당신은 팩토리오 게임을 순수하게 플레이하는 AI 에이전트입니다. @@ -208,7 +208,7 @@ class AIPlanner: "options": {"temperature": 0.3, "num_ctx": 8192}, } resp = httpx.post( - f"{OLLAMA_HOST}/api/chat", + f"{OLLAMA_HOST}/api/v1/chat", json=payload, timeout=600.0, )