Repository navigation
feat(sensor): agent joins the Decepticon gateway network for shared LLM config - #8
Merged
Merged
Conversation
…shared LLM config The shared LiteLLM gateway (the operator's Decepticon stack) publishes on host loopback only, which containers cannot reach via host-gateway. The autobot-agent service now joins the Decepticon stack's network and calls the gateway by container name (http://decepticon-litellm:4000), with the gateway env passthrough (DECEPTICON_LLM__PROXY_URL/API_KEY/BLUE_MODEL) added to the service definition. Verified live end-to-end on this wiring: events -> rule detection -> in-stack blue_cell agent server -> shared gateway -> real model response -> assessment notification (the ported prompt-injection shield wrapped the sensor tool output live).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes the shared-LLM-configuration wiring for the co-deployed stack: the LiteLLM gateway publishes on host loopback only, so the agent container now joins the Decepticon stack's network and calls the gateway by container name. Gateway env passthrough (DECEPTICON_LLM__PROXY_URL/API_KEY/BLUE_MODEL) added to the service.
Live verification: events -> rule detection (command_injection) -> in-stack blue_cell agent server -> shared gateway -> real model response -> assessment notification delivered to the Blue feed — with the ported prompt-injection shield wrapping the sensor tool output live (the full autonomous cycle on AutoBot's own runtime, closing the 2b-ii verification).