Policy Synth is a Typescript class library for creating multi-scale AI agent logic flows, API's and state of the art realtime web applications. The drive behind the project is to help governments and citizens make better decisions together by seamlessly integrating collective and artificial intelligence.
Task Description
We want to create a new typedef called PsModelChatItem to replace {role:string,message:string}`,
Task Instructions
Add new interface PsModelChatItem {role:string,message:string} to src/streamingLlms.d.ts
Replace {role:string,message:string} with PsModelChatItem in src/models/baseChatModel.ts and src/models/openAiChat.ts, src/models/claudeOpusChat.ts and src/models/googleGeminiChat.ts
Task Description We want to create a new typedef called PsModelChatItem to replace {role:string,message:string}`,
Task Instructions