* Get item from mcp toolkit cache pool * @param {string} cacheKey
(cacheKey: string)
| 132 | * @param {string} cacheKey |
| 133 | */ |
| 134 | async getMCPCache(cacheKey: string): Promise<any | undefined> { |
| 135 | if (process.env.MODE !== MODE.QUEUE) { |
| 136 | return this.activeMCPCache[`mcpCache:${cacheKey}`] |
| 137 | } |
| 138 | return undefined |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Get item from llm cache pool |