Skip to content

fix(deployment): add missing AUTOBOT_*_ENDPOINT env vars to ai-stack template (#4661)#4727

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-4661
Apr 15, 2026
Merged

fix(deployment): add missing AUTOBOT_*_ENDPOINT env vars to ai-stack template (#4661)#4727
mrveiss merged 1 commit intoDev_new_guifrom
issue-4661

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 15, 2026

Closes #4661

Summary

  • Added AUTOBOT_CHAT_ENDPOINT, AUTOBOT_RAG_ENDPOINT, AUTOBOT_CLASSIFICATION_ENDPOINT to ai-stack.env.j2 Ansible template
  • Added corresponding defaults (ai_chat_endpoint, ai_rag_endpoint, ai_classification_endpoint) to roles/ai-stack/defaults/main.yml — all resolve to http://{{ ollama_host }}:{{ ollama_port }}
  • Fixes AgentConfigurationError raised by get_agent_endpoint_explicit() when vars are absent post-deploy

Tests

  • 37 agent tests passed (test_subagent_spawning.py + test_memory_hooks.py)
  • Pre-existing import failures in test_causal_reasoning.py and test_property_graph.py are unrelated to this change

🤖 Generated with Claude Code

…vice config (#4661)

Add AUTOBOT_CHAT_ENDPOINT, AUTOBOT_RAG_ENDPOINT, and AUTOBOT_CLASSIFICATION_ENDPOINT
to ai-stack.env.j2 template and corresponding defaults in defaults/main.yml pointing
to the Ollama host/port. These vars are required by get_agent_endpoint_explicit() in
ssot_config.py — without them all three core agents fail to initialize on startup.
@mrveiss mrveiss merged commit 02d4dfb into Dev_new_gui Apr 15, 2026
3 of 4 checks passed
@mrveiss mrveiss deleted the issue-4661 branch April 15, 2026 17:49
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant