Skip to content

Commit 99b8e73

Browse files
committed
fix: evaluation
1 parent d507ab9 commit 99b8e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evals/evaluation-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export function filterById(testCases: TestCase[], idPattern: string): TestCase[]
7373
export async function loadTools(): Promise<ToolBase[]> {
7474
const apifyClient = new ApifyClient({ token: process.env.APIFY_API_TOKEN || '' });
7575
const urlTools = await processParamsGetTools('', apifyClient);
76-
return urlTools.map((t: ToolEntry) => getToolPublicFieldOnly(t.tool)) as ToolBase[];
76+
return urlTools.map((t: ToolEntry) => getToolPublicFieldOnly(t)) as ToolBase[];
7777
}
7878

7979
export function transformToolsToOpenAIFormat(tools: ToolBase[]): OpenAI.Chat.Completions.ChatCompletionTool[] {

0 commit comments

Comments
 (0)