Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

Merge pull request #2820 from makecindy/dash/strip-grok-eos-token

Lizia6dd8b51eb63
diff --cc packages/maker-core/src/agents/pi/translator.ts
index 717538400d,d96adf4558..7899950136
--- a/packages/maker-core/src/agents/pi/translator.ts
+++ b/packages/maker-core/src/agents/pi/translator.ts
@@@ -21,13 -21,13 +21,18 @@@ import
extractNonSecretErrorSignals,
redactSensitiveText,
} from '@cindy/maker-shared/error-redaction';
+ import {
+ holdStandaloneStopTokenDelta,
+ stripInternalWebCitations,
+ type StandaloneStopTokenHold,
+ } from '@cindy/maker-shared/internal-citation';
import type { AgentEvent, AgentTaskUpdateEventData, UsageSnapshot } from '../../types/index.js';
import type { AsyncQueue } from '../shared/async-queue.js';
+import {
+ UPSTREAM_OVERLOAD_REASON,
+ formatOverloadRetryMessage,
+ parseOverloadError,
+} from '../shared/overload-error.js';
import type { PiRpcEvent } from './rpc-client.js';
import { parsePiSubagentProgress, type PiSubagentUsage } from './subagent-progress.js';