MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / getChart

Function getChart

tests/chart-runtime/render-chart.integration.test.ts:24–27  ·  view source on GitHub ↗
(result: Awaited<ReturnType<typeof renderChartTool.handler>>)

Source from the content-addressed store, hash-verified

22}
23
24function getChart(result: Awaited<ReturnType<typeof renderChartTool.handler>>): ChartPayload {
25 assert.ok(result.chart, 'expected render_chart to return a chart payload')
26 return result.chart
27}
28
29function seedChatDb(db: ReturnType<typeof openBetterSqliteDatabase>): void {
30 db.exec(CHAT_DB_SCHEMA)

Calls

no outgoing calls

Tested by

no test coverage detected