chore: formatting
This commit is contained in:
@@ -43,8 +43,8 @@ import {
|
||||
sanitizeSessionMessagesImages,
|
||||
} from "./pi-embedded-helpers.js";
|
||||
import {
|
||||
subscribeEmbeddedPiSession,
|
||||
type BlockReplyChunking,
|
||||
subscribeEmbeddedPiSession,
|
||||
} from "./pi-embedded-subscribe.js";
|
||||
import { extractAssistantText } from "./pi-embedded-utils.js";
|
||||
import { createClawdisCodingTools } from "./pi-tools.js";
|
||||
|
||||
@@ -266,7 +266,10 @@ export function subscribeEmbeddedPiSession(params: {
|
||||
return;
|
||||
}
|
||||
if (blockBuffer.length < minChars && !force) return;
|
||||
while (blockBuffer.length >= minChars || (force && blockBuffer.length > 0)) {
|
||||
while (
|
||||
blockBuffer.length >= minChars ||
|
||||
(force && blockBuffer.length > 0)
|
||||
) {
|
||||
const breakIdx = pickBreakIndex(blockBuffer);
|
||||
if (breakIdx <= 0) {
|
||||
if (force) {
|
||||
|
||||
Reference in New Issue
Block a user