Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🔧 fix: Tool Selection for Google Models
Danny Avila543281da6cb8
diff --git a/api/server/services/Endpoints/agents/agent.js b/api/server/services/Endpoints/agents/agent.jsindex b262847846..00c6baada3 100644--- a/api/server/services/Endpoints/agents/agent.js+++ b/api/server/services/Endpoints/agents/agent.js@@ -141,7 +141,7 @@ const initializeAgent = async ({}/** @type {import('@librechat/agents').GenericTool[]} */- let tools = options.tools ?? structuredTools;+ let tools = options.tools?.length ? options.tools : structuredTools;if ((agent.provider === Providers.GOOGLE || agent.provider === Providers.VERTEXAI) &&options.tools?.length &&