MCPcopy
hub / github.com/Bistutu/FluentRead / contentPostHandler

Function contentPostHandler

entrypoints/utils/check.ts:100–105  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

98}
99
100export function contentPostHandler(text: string) {
101 // 替换掉<think>与</think>之间的内容
102 let content = text;
103 content = content.replace(/^<think>[\s\S]*?<\/think>/, "");
104 return content;
105}

Callers 6

commonFunction · 0.90
azureOpenaiFunction · 0.90
deepseekFunction · 0.90
newapiFunction · 0.90
customFunction · 0.90
grokFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected