fix: Pass chatSessionRepository through createContext in trpc-adapter

The createContext call manually enumerates every field rather than
spreading, so the new repo was silently dropped even though it existed
on the options object.
This commit is contained in:
Lukas May
2026-03-04 10:56:47 +01:00
parent e4489f8c7a
commit 413a501570

View File

@@ -157,6 +157,7 @@ export function createTrpcHandler(options: TrpcAdapterOptions) {
executionOrchestrator: options.executionOrchestrator,
previewManager: options.previewManager,
conversationRepository: options.conversationRepository,
chatSessionRepository: options.chatSessionRepository,
workspaceRoot: options.workspaceRoot,
}),
});