MCPcopy Create free account
hub / github.com/Rfym21/Qwen2API / buildRequiredRetryHint

Function buildRequiredRetryHint

src/controllers/chat.js:65–70  ·  view source on GitHub ↗
(toolChoice)

Source from the content-addressed store, hash-verified

63const setResponseHeaders = (res, stream) => {
64 try {
65 if (stream) {
66 res.set({
67 'Content-Type': 'text/event-stream',
68 'Cache-Control': 'no-cache, no-transform',
69 'Connection': 'keep-alive',
70 'X-Accel-Buffering': 'no',
71 })
72 } else {
73 res.set({

Callers 2

handleStreamResponseFunction · 0.85
handleNonStreamResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected