We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d507ab9 commit 99b8e73Copy full SHA for 99b8e73
evals/evaluation-utils.ts
@@ -73,7 +73,7 @@ export function filterById(testCases: TestCase[], idPattern: string): TestCase[]
73
export async function loadTools(): Promise<ToolBase[]> {
74
const apifyClient = new ApifyClient({ token: process.env.APIFY_API_TOKEN || '' });
75
const urlTools = await processParamsGetTools('', apifyClient);
76
- return urlTools.map((t: ToolEntry) => getToolPublicFieldOnly(t.tool)) as ToolBase[];
+ return urlTools.map((t: ToolEntry) => getToolPublicFieldOnly(t)) as ToolBase[];
77
}
78
79
export function transformToolsToOpenAIFormat(tools: ToolBase[]): OpenAI.Chat.Completions.ChatCompletionTool[] {
0 commit comments