fix(server): give the mid-stream fake session the skipReconnectWait member (#86)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-07-27 22:37:55 +08:00
committed by GitHub
parent 094ebd6118
commit a955046b73
@@ -37,6 +37,7 @@ function midStreamFakeSession(sessionId: string): RuntimeSession {
generateTitle: async () => ({ title: null, usage: null }),
compactability: () => "ok" as const,
steer: () => false,
skipReconnectWait: () => false,
async *run(_input: OmniMessage[], opts: { approve: ApproveFn; signal: AbortSignal }) {
yield partialThinking("start");
yield partialThinking("delta", "let me think");