Skip to main content

agent_chat

Function agent_chat 

Source
pub async fn agent_chat(
    _guard: AdminGuard,
    __arg1: State<ServerState>,
    __arg2: Json<AgentChatRequest>,
) -> impl IntoResponse
Expand description

POST /agent/chat — loopback-only (AdminGuard). Sends one chat turn to the loaded worker pack and returns its reply.