Created new providers/ directory for model providers, modified tool names to have '_' instead of '.', added support for function/tool calling by agent block. Works for OpenAI w firecrawl tool, needs to be implemented still for other providers

This commit is contained in:
Waleed Latif
2025-02-04 13:06:58 -08:00
parent d419e9879a
commit 98c39afe43
34 changed files with 694 additions and 83 deletions

View File

@@ -13,7 +13,7 @@ export interface CodeExecutionOutput extends ToolResponse {
}
export const functionExecuteTool: ToolConfig<CodeExecutionInput, CodeExecutionOutput> = {
id: 'function.execute',
id: 'function_execute',
name: 'Function Execute',
description: 'Execute code in a sandboxed environment',
version: '1.0.0',