(status: ThreadGoalStatus)
| 694 | } |
| 695 | |
| 696 | fn fake_thread_goal(status: ThreadGoalStatus) -> ThreadGoal { |
| 697 | ThreadGoal { |
| 698 | goal_id: "goal_1".to_string(), |
| 699 | session_id: "session_1".to_string(), |
| 700 | objective: "Ship runtime port".to_string(), |
| 701 | status, |
| 702 | token_budget: Some(1000), |
| 703 | tokens_used: 10, |
| 704 | time_used_seconds: 5, |
| 705 | created_at: 1, |
| 706 | updated_at: 2, |
| 707 | auto_continuation_count: 0, |
| 708 | } |
| 709 | } |
| 710 | |
| 711 | #[async_trait::async_trait] |
| 712 | impl AgentSessionManagementPort for FakeAgentRuntimePorts { |
no outgoing calls
no test coverage detected