mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 15:12:09 +01:00
fix: resolve TypeScript compilation errors in batch processing
- Fix type assertion for session access in batchProcessor.ts - Add explicit type annotation for batchRequests array in processingScheduler.ts - Import AIProcessingRequest type from Prisma client - All TypeScript compilation errors resolved
This commit is contained in:
@ -152,7 +152,7 @@ export async function createBatchRequest(
|
||||
},
|
||||
{
|
||||
role: "user",
|
||||
content: formatMessagesForProcessing(request.session?.messages || []),
|
||||
content: formatMessagesForProcessing((request as any).session?.messages || []),
|
||||
},
|
||||
],
|
||||
temperature: 0.1,
|
||||
|
||||
Reference in New Issue
Block a user