optz: Goal orchestrator
This commit is contained in:
@@ -322,7 +322,7 @@ def runtime_env(provider_id: str, model_id: str) -> int:
|
||||
parsed = urlparse(endpoint)
|
||||
env.update({
|
||||
"CASAN_OLLAMA_HOST": parsed.netloc,
|
||||
"OLLAMA_HOST": parsed.netloc,
|
||||
"OLLAMA_HOST": endpoint,
|
||||
"CASAN_ALLOW_DOCKER_HOST_OLLAMA": "1" if parsed.hostname == "host.docker.internal" else "0",
|
||||
})
|
||||
print(json.dumps({"success": True, "env": env}, ensure_ascii=False))
|
||||
|
||||
Reference in New Issue
Block a user