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

Method getApiKey

chat/api.js:56–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 const fileData = part?.file?.file_data || '';
55 return part?.type === 'file' && (
56 /\.pdf$/i.test(filename) ||
57 (typeof fileData === 'string' && fileData.startsWith('data:application/pdf'))
58 );
59 });
60 });
61}
62
63function applyPdfFileParserPlugin(body, messages = []) {
64 if (!hasPdfContent(messages)) return;

Callers 3

sendCompletionMethod · 0.95
generateSessionTitleMethod · 0.95
streamCompletionMethod · 0.95

Calls 1

isExpiredMethod · 0.80

Tested by

no test coverage detected