The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(assistant): citedSources stays inside the Responses client
Mauricea94464a95336
diff --git a/server/src/nest/ai-connections/providers/openai-responses.client.ts b/server/src/nest/ai-connections/providers/openai-responses.client.tsindex 72f6d0934..d12800d3f 100644--- a/server/src/nest/ai-connections/providers/openai-responses.client.ts+++ b/server/src/nest/ai-connections/providers/openai-responses.client.ts@@ -110,7 +110,7 @@ function toolsOf(request: AiChatRequest, kind: AiConnectionKind): Record<string,}/** The pages an output message cites, as its text's URL annotations name them. */-export function citedSources(item: Record<string, unknown>): AiSource[] {+function citedSources(item: Record<string, unknown>): AiSource[] {if (item.type !== 'message' || !Array.isArray(item.content)) return [];return item.content.flatMap((part: unknown) => {const annotations = asRecord(part).annotations;