Skip to content

Commit

Permalink
fix line error
Browse files Browse the repository at this point in the history
  • Loading branch information
isamu committed Jan 16, 2025
1 parent b039e11 commit 424806f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llm_agents/tools_agent/tests/run_tools.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "dotenv/config";
import { toolsAgent } from "@/index";

import { AgentFunction, AgentFunctionInfo, AgentFunctionInfoDictionary, defaultTestContext, agentInfoWrapper } from "graphai";
import { AgentFunction, AgentFunctionInfo, defaultTestContext, agentInfoWrapper } from "graphai";

import * as vanilla_agents from "@graphai/vanilla";
import { openAIAgent } from "@graphai/openai_agent";
Expand All @@ -23,8 +23,8 @@ const lightAgent = agentInfoWrapper(lightFunc);
const main = async (agentInfo: AgentFunctionInfo) => {
const { agent, samples, inputs: inputSchema } = agentInfo;
for await (const sampleKey of samples.keys()) {
const { params, inputs, result, graph } = samples[sampleKey];
const actual = await agent({
const { params, inputs } = samples[sampleKey];
await agent({
...defaultTestContext,
params,
inputSchema,
Expand Down

0 comments on commit 424806f

Please sign in to comment.