feat: add gemini tools (#120)

This commit is contained in:
Charles Packer
2025-11-24 10:50:31 -08:00
committed by GitHub
parent 43813383ac
commit f2ed25bfeb
51 changed files with 1639 additions and 64 deletions

View File

@@ -51,8 +51,15 @@ export async function createAgent(
const client = await getClient();
// Get loaded tool names (tools are already registered with Letta)
// Map internal names to server names so the agent sees the correct tool names
const { getServerToolName } = await import("../tools/manager");
const internalToolNames = getToolNames();
const serverToolNames = internalToolNames.map((name) =>
getServerToolName(name),
);
const toolNames = [
...getToolNames(),
...serverToolNames,
"memory",
"web_search",
"conversation_search",