MCPcopy Create free account
hub / github.com/AI45Lab/Code / is_quickjs_timeout

Function is_quickjs_timeout

core/src/tools/program_tool.rs:535–538  ·  view source on GitHub ↗
(err: &anyhow::Error)

Source from the content-addressed store, hash-verified

533}
534
535fn is_quickjs_timeout(err: &anyhow::Error) -> bool {
536 let text = err.to_string();
537 text.contains("interrupted") || text.contains("InternalError")
538}
539
540fn script_record_to_value(record: &ScriptCallRecord) -> serde_json::Value {
541 serde_json::json!({

Callers 1

run_quickjs_scriptFunction · 0.85

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected