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:
1 parent
094ebd6118
commit
a955046b73
1 file changed
+1
@@ -37,6 +37,7 @@ function midStreamFakeSession(sessionId: string): RuntimeSession {
|
|||||||
generateTitle: async () => ({ title: null, usage: null }),
|
generateTitle: async () => ({ title: null, usage: null }),
|
||||||
compactability: () => "ok" as const,
|
compactability: () => "ok" as const,
|
||||||
steer: () => false,
|
steer: () => false,
|
||||||
|
skipReconnectWait: () => false,
|
||||||
async *run(_input: OmniMessage[], opts: { approve: ApproveFn; signal: AbortSignal }) {
|
async *run(_input: OmniMessage[], opts: { approve: ApproveFn; signal: AbortSignal }) {
|
||||||
yield partialThinking("start");
|
yield partialThinking("start");
|
||||||
yield partialThinking("delta", "let me think");
|
yield partialThinking("delta", "let me think");
|
||||||
|
|||||||
Reference in new issue
Block a user