@eyeclaw/eyeclaw 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/websocket-client.ts +1 -2
package/package.json
CHANGED
package/src/websocket-client.ts
CHANGED
|
@@ -293,8 +293,7 @@ export class EyeClawWebSocketClient {
|
|
|
293
293
|
* 发送流式内容块到 Rails
|
|
294
294
|
*/
|
|
295
295
|
private sendChunk(content: string, sessionId?: string) {
|
|
296
|
-
this.
|
|
297
|
-
type: 'stream_chunk',
|
|
296
|
+
this.sendMessage('stream_chunk', {
|
|
298
297
|
content,
|
|
299
298
|
session_id: sessionId,
|
|
300
299
|
})
|