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

Method as_str

src/crates/execution/agent-runtime/src/events.rs:21–28  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

19
20impl FinishReason {
21 pub const fn as_str(&self) -> &'static str {
22 match self {
23 FinishReason::Complete => "complete",
24 FinishReason::ToolCalls => "tool_calls",
25 FinishReason::Cancelled => "cancelled",
26 FinishReason::Error => "error",
27 }
28 }
29}
30
31impl fmt::Display for FinishReason {

Callers 15

fmtMethod · 0.45
parse_update_goal_statusFunction · 0.45
build_goal_tool_resultFunction · 0.45
metadata_toolsFunction · 0.45
parse_registry_statusFunction · 0.45
build_display_mapFunction · 0.45
renumber_bodyFunction · 0.45
renumber_index_sectionFunction · 0.45

Calls

no outgoing calls