Spaces:
Running
Running
File size: 350 Bytes
bd44418 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """Shared context for post-processing pipeline."""
from dataclasses import dataclass, field
from typing import Dict, Any
@dataclass
class RunContext:
provider: str
model: str
usage_totals: Dict[str, int]
usage_by_model: Dict[str, Dict[str, int]]
latency_s: float
metadata_out: Dict[str, Any] = field(default_factory=dict)
|