fix: route agent CLI via gateway
This commit is contained in:
@@ -240,11 +240,12 @@ export const agentHandlers: GatewayRequestHandlers = {
|
||||
defaultRuntime,
|
||||
context.deps,
|
||||
)
|
||||
.then(() => {
|
||||
.then((result) => {
|
||||
const payload = {
|
||||
runId,
|
||||
status: "ok" as const,
|
||||
summary: "completed",
|
||||
result,
|
||||
};
|
||||
context.dedupe.set(`agent:${idem}`, {
|
||||
ts: Date.now(),
|
||||
|
||||
Reference in New Issue
Block a user