mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-07 21:50:25 -06:00
fix: add type=text
This commit is contained in:
@@ -31,7 +31,7 @@ class AIChatConstructStream {
|
||||
class AIChatTextStream extends AIChatConstructStream {
|
||||
addText (text) {
|
||||
const json = JSON.stringify({
|
||||
text,
|
||||
type: 'text', text,
|
||||
});
|
||||
this.chatStream.stream.write(json + '\n');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user