WIP: code ptc

This commit is contained in:
Danny Avila 2025-12-07 23:17:45 -05:00
parent 94067fea56
commit 4359260b38
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
11 changed files with 461 additions and 19 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 }) {