mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 08:00:59 +00:00
fix
This commit is contained in:
parent
5a2172fb9d
commit
2cb87538c4
1 changed files with 1 additions and 1 deletions
|
|
@ -627,7 +627,6 @@ export class GatewayRuntime {
|
||||||
});
|
});
|
||||||
response.write("\n");
|
response.write("\n");
|
||||||
|
|
||||||
const managedSession = await this.ensureSession(sessionKey);
|
|
||||||
const listener = createVercelStreamListener(response);
|
const listener = createVercelStreamListener(response);
|
||||||
let unsubscribe: (() => void) | undefined;
|
let unsubscribe: (() => void) | undefined;
|
||||||
let streamingActive = false;
|
let streamingActive = false;
|
||||||
|
|
@ -648,6 +647,7 @@ export class GatewayRuntime {
|
||||||
|
|
||||||
// Drive the session through the existing queue infrastructure
|
// Drive the session through the existing queue infrastructure
|
||||||
try {
|
try {
|
||||||
|
const managedSession = await this.ensureSession(sessionKey);
|
||||||
const result = await this.enqueueManagedMessage({
|
const result = await this.enqueueManagedMessage({
|
||||||
request: {
|
request: {
|
||||||
sessionKey,
|
sessionKey,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue