feat: enhance AIPlanner with loading spinner during Ollama requests and update print statements for clarity
This commit is contained in:
6
main.py
6
main.py
@@ -15,7 +15,7 @@ import json
|
||||
from factorio_rcon import FactorioRCON
|
||||
from state_reader import StateReader
|
||||
from context_compressor import ContextCompressor
|
||||
from ai_planner import AIPlanner
|
||||
from ai_planner import AIPlanner, OLLAMA_MODEL, OLLAMA_HOST
|
||||
from action_executor import ActionExecutor
|
||||
from agent_last_action_memory import save_last_action_memory, load_last_action_memory
|
||||
from ore_patch_memory import load_ore_patch_memory, compute_distance_sq
|
||||
@@ -137,8 +137,8 @@ def run():
|
||||
print("=" * 60)
|
||||
print(" 팩토리오 순수 AI 에이전트 (치트 없음)")
|
||||
print(" - 실제 걷기 / 실제 채굴 / 실제 제작 / 건설 거리 제한")
|
||||
print(f" - LLM: Ollama {os.environ.get('OLLAMA_MODEL', 'qwen3:14b')}")
|
||||
print(f" - Ollama host: {os.environ.get('OLLAMA_HOST', 'http://192.168.50.67:11434')}")
|
||||
print(f" - LLM: Ollama {OLLAMA_MODEL}")
|
||||
print(f" - Ollama host: {OLLAMA_HOST}")
|
||||
print("=" * 60)
|
||||
|
||||
with FactorioRCON(RCON_HOST, RCON_PORT, RCON_PASSWORD) as rcon:
|
||||
|
||||
Reference in New Issue
Block a user