Closed freedomtrain closed 2 months ago
Receiving the following when clicking of the + for a new query
Unhandled Runtime Error
Error: aiState.get.messages is not iterable Source
app/actions.tsx (33:23) @ messages
31 | // Get the messages from the state, filter out the tool messages 32 | const messages: ExperimentalMessage[] = [
33 | ...(aiState.get().messages as any[]) | ^ 34 | ].filter( 35 | message => 36 | message.role !== 'tool' &&
Receiving the following when clicking of the + for a new query
Unhandled Runtime Error
Error: aiState.get.messages is not iterable Source
app/actions.tsx (33:23) @ messages
31 | // Get the messages from the state, filter out the tool messages 32 | const messages: ExperimentalMessage[] = [