MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / createTypesenseOnThreadCreation

Function createTypesenseOnThreadCreation

apps/web/queue/jobs.ts:222–230  ·  view source on GitHub ↗
(payload: {
  accountId: string;
  threadId: string;
})

Source from the content-addressed store, hash-verified

220}
221
222export async function createTypesenseOnThreadCreation(payload: {
223 accountId: string;
224 threadId: string;
225}) {
226 const worker = await WorkerSingleton.getInstance();
227 return await worker.addJob('typesenseOnThreadCreation', payload, {
228 maxAttempts: 1,
229 });
230}
231
232export async function createTypesenseOnThreadUpdate(payload: {
233 accountId: string;

Callers 1

eventNewThreadFunction · 0.90

Calls 1

getInstanceMethod · 0.80

Tested by

no test coverage detected