mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
FF: fix tRPC/superjson crash on 'undefined' values
This commit is contained in:
@@ -224,7 +224,7 @@ export class ChatGenerateTransmitter implements IPartTransmitter {
|
||||
p: 'code-response',
|
||||
id: id ?? serverSideId('aix-tool-response-id'),
|
||||
output,
|
||||
error,
|
||||
...(error ? { error } : {}),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user