emergence-mini-dilles/engine
Jeuners 23c914d743 Ollama URL with auto-fallback
The user wanted to use Ollama on a network host (192.168.1.245).
The host is reachable (ping ~900ms) but its Ollama port (11434)
is not open, so the engine falls back to a local URL.

Changes:
- .env: EMERGENCE_OLLAMA_URL = network host, EMERGENCE_OLLAMA_FALLBACK_URL
  = localhost
- engine/llm.py: chat_ollama now iterates primary then fallback URL
  on connection failure. is_available() does the same. provider_info()
  exposes both URLs.
- All 100 tests still pass.

Live-verified: lovely+spark (llama3.2:3b) use mode=llm with ~10s
latency, which is the connection-refused on 192.168.1.245 + the
successful fallback to 127.0.0.1. As soon as 192.168.1.245's Ollama
is reachable, latency will drop to normal (~1-3s).
2026-06-15 03:08:42 +02:00
..
__init__.py Emergence-Mini: minimaler Klon von Emergence-World 2026-06-15 01:07:38 +02:00
agents.py Emergence-Mini: minimaler Klon von Emergence-World 2026-06-15 01:07:38 +02:00
db.py Ollama URL with auto-fallback 2026-06-15 03:08:42 +02:00
governance.py Emergence-Mini: minimaler Klon von Emergence-World 2026-06-15 01:07:38 +02:00
llm.py Ollama URL with auto-fallback 2026-06-15 03:08:42 +02:00
needs.py Emergence-Mini: minimaler Klon von Emergence-World 2026-06-15 01:07:38 +02:00
reasoning.py Rewrite README: highlight real LLM support, time dilation, token savings 2026-06-15 02:39:50 +02:00
time.py Time Dilation framework + OpenRouter multi-LLM 2026-06-15 02:27:11 +02:00
tools.py Rewrite README: highlight real LLM support, time dilation, token savings 2026-06-15 02:39:50 +02:00
turn.py Ollama URL with auto-fallback 2026-06-15 03:08:42 +02:00
world.py Fix WebSocket disconnect crash and missing 'personality' field 2026-06-15 02:04:49 +02:00