background_agents.dollhouse_visual_agent module

Gemini Lite visual director for Babystar Dollhouse replies.

The main Stargazer turn publishes a tiny request after its text is delivered. This background agent chooses a sprite pose, stage effects, and sound cues, then publishes the visual packet directly to the Dollhouse WebSocket channel. The result never enters Stargazer’s conversation context.

class background_agents.dollhouse_visual_agent.DollhouseVisualAgent(redis_client, *, proxy_url='http://localhost:3000/openai/chat/completions', model='gemini-3.1-flash-lite')

Bases: object

Redis-driven visual cue agent running outside the main model turn.

Parameters:
  • redis_client (Any)

  • proxy_url (str)

  • model (str)

async start()
Return type:

None

async stop()
Return type:

None