aegis-runtime-mv
Native Rust agent runtime: Axum WebSocket/SSE/REST gateway, heartbeat scheduler, dependency-aware task workflow, SQLite storage. Attachment of AienOS. Pre-alpha.
Brought by drakestapleton
aegis-runtime-mv / src / orchestration / budget.rs
| 1 | use serde::{Deserialize, Serialize}; |
| 2 | |
| 3 | #[derive(Debug, Clone, Serialize, Deserialize)] |
| 4 | pub struct RunBudget { |
| 5 | pub max_steps: u32, |
| 6 | pub max_inference_calls: u32, |
| 7 | pub max_actions: u32, |
| 8 | pub max_wall_time_secs: u64, |
| 9 | } |
| 10 | |
| 11 | impl Default for RunBudget { |
| 12 | fn default() -> Self { |
| 13 | Self { |
| 14 | max_steps: 25, |
| 15 | max_inference_calls: 30, |
| 16 | max_actions: 50, |
| 17 | max_wall_time_secs: 300, |
| 18 | } |
| 19 | } |
| 20 | } |