MCPcopy
hub / github.com/algorithmicsuperintelligence/optillm / BatchRequest

Class BatchRequest

optillm/batching.py:27–33  ·  view source on GitHub ↗

Container for a single request in a batch

Source from the content-addressed store, hash-verified

25
26@dataclass
27class BatchRequest:
28 """Container for a single request in a batch"""
29 request_data: Dict[str, Any]
30 future: Future
31 timestamp: float
32 model: str
33 approach: Optional[str] = None
34
35class BatchingError(Exception):
36 """Raised when batch processing fails"""

Callers 1

add_requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected