chore: update OLLAMA_HOST and API endpoint in AIPlanner, and add .cursor to .gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ inventory_memory.json
|
||||
ore_patch_memory.json
|
||||
agent_last_action_memory.json
|
||||
.cursor/.worktrees/
|
||||
.cursor
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user