fix: keep steer short connection running
This commit is contained in:
@@ -1336,8 +1336,10 @@ export async function handleCodeAgentSteerHttp(request, response, options) {
|
||||
options,
|
||||
traceStore
|
||||
});
|
||||
await recordCodeAgentSessionOwner({ payload: currentResult, params: { ...params, traceId, ownerUserId: options.actor?.id, ownerRole: options.actor?.role }, options, status: "running" });
|
||||
sendJson(response, 202, payload);
|
||||
setImmediate(() => {
|
||||
void recordCodeAgentSessionOwner({ payload: currentResult, params: { ...params, traceId, ownerUserId: options.actor?.id, ownerRole: options.actor?.role }, options, status: "running" });
|
||||
});
|
||||
} catch (error) {
|
||||
traceStore.append(traceId, {
|
||||
type: "backend",
|
||||
|
||||
Reference in New Issue
Block a user