Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
isamu committed Jan 25, 2025
1 parent 616f007 commit 02dadaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/agent_filters/tests/express/agent_dispatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import express from "express";
import * as agents from "@graphai/agents";

import { streamAgentFilterGenerator, agentFilterRunnerBuilder } from "@/index";
import { AgentFunctionContext, AgentFunctionInfoDictionary } from "graphai";
import { AgentFunctionContext, AgentFunctionInfoDictionary, NodeState } from "graphai";

export const agentDispatcher = async (req: express.Request, res: express.Response) => {
const { params } = req;
Expand All @@ -23,6 +23,8 @@ export const agentDispatcher = async (req: express.Request, res: express.Respons
nodeId,
retry,
verbose: false,
state: NodeState.Executing,
subGraphs: new Map(),
},
filterParams: {},
agents: agents as AgentFunctionInfoDictionary,
Expand Down

0 comments on commit 02dadaa

Please sign in to comment.