Skip to content

Commit b39256d

Browse files
BuckyMcYolonaomi-lgbt
authored andcommittedFeb 15, 2025
changed the AgentLiveSchema.context type to use 'role' instead of 'type' in the messages array
1 parent 490a2eb commit b39256d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/lib/types/AgentLiveSchema.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ interface AgentLiveSchema extends Record<string, unknown> {
186186
/**
187187
* LLM message history (e.g. to restore existing conversation if websocket disconnects)
188188
*/
189-
messages: { type: "user" | "assistant"; content: string }[];
189+
messages: { role: "user" | "assistant"; content: string }[];
190190
/**
191191
* Whether to replay the last message, if it is an assistant message.
192192
*/

0 commit comments

Comments
 (0)