Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /CIRISAI_CIRISAgent /ciris_engine /schemas /api /runtime.py
| """ | |
| Runtime API response schemas - fully typed replacements for Dict[str, Any]. | |
| """ | |
| from typing import Optional | |
| from pydantic import BaseModel, ConfigDict, Field | |
| class StateTransitionResult(BaseModel): | |
| """Result of state transition request.""" | |
| model_config = ConfigDict(defer_build=True) | |
| success: bool = Field(..., description="Whether transition succeeded") | |
| target_state: str = Field(..., description="Requested target state") | |
| current_state: str = Field(..., description="Current state after request") | |
| reason: str = Field(..., description="Reason for transition") | |
| transition_time_ms: Optional[float] = Field(None, description="Time taken for transition") | |
| class ProcessingSpeedResult(BaseModel): | |
| """Result of processing speed change.""" | |
| model_config = ConfigDict(defer_build=True) | |
| success: bool = Field(..., description="Whether speed change succeeded") | |
| multiplier: float = Field(..., description="New speed multiplier") | |
| description: str = Field(..., description="Human-readable description") | |
| effective_immediately: bool = Field(True, description="Whether change is immediate") | |
Xet Storage Details
- Size:
- 1.14 kB
- Xet hash:
- d32cca544c06c03d163642ea41d4e95cc30b6feaf754d2a5bb4f870aedc35de4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.