MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / cursor_dispatch_model

Function cursor_dispatch_model

src/sessions/cursor.rs:973–977  ·  view source on GitHub ↗
(item: &Value)

Source from the content-addressed store, hash-verified

971}
972
973fn cursor_dispatch_model(item: &Value) -> Option<String> {
974 item.get("input")
975 .and_then(cursor_model_string)
976 .or_else(|| cursor_model_string(item))
977}
978
979fn is_subagent_dispatch_tool(name: &str) -> bool {
980 matches!(name.to_ascii_lowercase().as_str(), "task" | "subagent")

Callers 2

dispatch_model_for_agentFunction · 0.85
event_dispatch_messagesFunction · 0.85

Calls 1

cursor_model_stringFunction · 0.85

Tested by

no test coverage detected