MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / resolve

Method resolve

apps/api/src/memory/memory.controller.ts:37–57  ·  view source on GitHub ↗
(
    @CurrentUser() user: AuthUser,
    @Query("ticker") ticker?: string,
  )

Source from the content-addressed store, hash-verified

35 @Post()
36 @HttpCode(200)
37 async resolve(
38 @CurrentUser() user: AuthUser,
39 @Query("ticker") ticker?: string,
40 ): Promise<MemoryResolveResponse> {
41 if (!ticker) {
42 throw new BadRequestException({ error: "ticker query param required" });
43 }
44 const resolved = await resolvePending({
45 userId: user.id,
46 ticker,
47 engine: this.engine.getForUser(user.id),
48 repo: this.store.memory,
49 });
50 return {
51 resolved,
52 pending: this.store.memory.pending(
53 user.id,
54 ticker,
55 ) as MemoryResolveResponse["pending"],
56 };
57 }
58}

Callers 4

genFunction · 0.45
resolvePendingFunction · 0.45
vite.config.tsFile · 0.45
brand.test.tsFile · 0.45

Calls 3

resolvePendingFunction · 0.85
getForUserMethod · 0.80
pendingMethod · 0.45

Tested by

no test coverage detected