File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @rapidaai/react" ,
3- "version" : " 1.1.63 " ,
3+ "version" : " 1.1.64 " ,
44 "description" : " An easy to use react client for building generative ai application using Rapida platform." ,
55 "repository" : {
66 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -130,7 +130,10 @@ export class MessageProtocolHandler {
130130 // Conversation error (server-side error with conversation ID and details)
131131 if ( response . hasError ( ) ) {
132132 const error = response . getError ( ) ;
133- if ( error ) this . callbacks . onError ?.( new Error ( error . getMessage ( ) ) ) ;
133+ if ( error ) {
134+ this . callbacks . onError ?.( new Error ( error . getMessage ( ) ) ) ;
135+ this . callbacks . onConversationError ?.( error . toObject ( ) ) ;
136+ }
134137 }
135138
136139 // Metric (server-side performance/latency data)
You can’t perform that action at this time.
0 commit comments