MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / addUrl

Method addUrl

chat/api.js:625–637  ·  view source on GitHub ↗
(rawUrl, title, explicitIndex)

Source from the content-addressed store, hash-verified

623 method: 'POST',
624 url,
625 status: response.status,
626 sessionId: sessionId || undefined,
627 keyRef: window.networkLogger.keyRefForHeaders(headers),
628 request: {
629 headers: window.networkLogger.sanitizeHeaders(headers),
630 body: {
631 model: titleModelId,
632 messages: 'title generation',
633 max_tokens: body.max_tokens,
634 temperature: body.temperature
635 }
636 },
637 response: response.ok ? { titleGeneration: true } : data || text
638 });
639 }
640

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected