WIP: code ptc

This commit is contained in:
Danny Avila 2025-12-07 23:17:45 -05:00
parent 8b5ef15071
commit af1e898a60
8 changed files with 454 additions and 12 deletions

View file

@ -38,9 +38,10 @@ function createToolLoader(signal) {
* @param {string} params.model
* @param {AgentToolResources} params.tool_resources
* @returns {Promise<{
* tools: StructuredTool[],
* toolContextMap: Record<string, unknown>,
* userMCPAuthMap?: Record<string, Record<string, string>>
* tools: StructuredTool[],
* toolContextMap: Record<string, unknown>,
* userMCPAuthMap?: Record<string, Record<string, string>>,
* toolRegistry?: import('@librechat/agents').LCToolRegistry
* } | undefined>}
*/
return async function loadTools({ req, res, agentId, tools, provider, model, tool_resources }) {