MCPcopy Create free account
hub / github.com/GCWing/BitFun / fake_thread_goal

Function fake_thread_goal

src/crates/execution/agent-runtime/src/runtime.rs:696–709  ·  view source on GitHub ↗
(status: ThreadGoalStatus)

Source from the content-addressed store, hash-verified

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 {

Callers 3

get_thread_goalMethod · 0.85
create_thread_goalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected