MCPcopy Create free account
hub / github.com/LeenHawk/sgproxy / json_text_block

Function json_text_block

src/proxy.rs:907–912  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

905}
906
907fn json_text_block(text: &str) -> Value {
908 json!({
909 "type": "text",
910 "text": text,
911 })
912}
913
914fn apply_magic_string_cache_control_triggers(body: &mut Value) {
915 canonicalize_claude_body(body);

Calls

no outgoing calls

Tested by

no test coverage detected