mod.rs 606 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
//! gRPC Router `/v1/responses` endpoint implementation
//!
//! This module handles all responses-specific logic including:
//! - Request validation
//! - Conversation history and response chain loading
//! - Background mode execution
//! - Streaming support
//! - MCP tool loop wrapper
//! - Response persistence

// Module declarations
12
pub mod context;
13
14
15
16
17
18
19
mod conversions;
mod handlers;
pub mod streaming;
pub mod tool_loop;
pub mod types;

// Public exports
20
pub use context::ResponsesContext;
21
22
pub use handlers::{cancel_response_impl, get_response_impl, route_responses};
pub use types::BackgroundTaskInfo;