|
1 | | -import { BaseLLM, LLMRequest, LLMResponse, MCPCapabilities } from './llm-interface.js'; |
| 1 | +import { BaseLLM, LLMRequest, LLMResponse } from './llm-interface.js'; |
2 | 2 | import { MCPClient } from './mcp-client.js'; |
3 | | -import { MCPServerConfig, Scenario, ExecutionStep } from './types.js'; |
| 3 | +import { MCPServerConfig, Scenario, ExecutionStep, MCPCapabilities } from './types.js'; |
4 | 4 | import chalk from 'chalk'; |
5 | 5 |
|
6 | 6 | export interface LLMConfig { |
@@ -62,9 +62,9 @@ export class GenericOrchestrator { |
62 | 62 | // 🐛 DEBUG: Show what capabilities we're sending to the LLM |
63 | 63 | if (this.config.enableLogging) { |
64 | 64 | console.log(chalk.cyan(`\n📋 [Orchestrator] Sending capabilities to LLM:`)); |
65 | | - console.log(chalk.gray(` 🔧 Tools: ${capabilities.tools.length} (${capabilities.tools.map(t => t.name).join(', ')})`)); |
66 | | - console.log(chalk.gray(` 📚 Resources: ${capabilities.resources.length} (${capabilities.resources.map(r => r.name).join(', ')})`)); |
67 | | - console.log(chalk.gray(` 💬 Prompts: ${capabilities.prompts.length} (${capabilities.prompts.map(p => p.name).join(', ')})`)); |
| 65 | + console.log(chalk.gray(` 🔧 Tools: ${capabilities.tools.length} (${capabilities.tools.map((t: any) => t.name).join(', ')})`)); |
| 66 | + console.log(chalk.gray(` 📚 Resources: ${capabilities.resources.length} (${capabilities.resources.map((r: any) => r.name).join(', ')})`)); |
| 67 | + console.log(chalk.gray(` 💬 Prompts: ${capabilities.prompts.length} (${capabilities.prompts.map((p: any) => p.name).join(', ')})`)); |
68 | 68 | console.log(chalk.gray(`\n 🧠 Full capabilities object:`)); |
69 | 69 | console.log(chalk.gray(` ${JSON.stringify(capabilities, null, 2).substring(0, 500)}...`)); |
70 | 70 | } |
|
0 commit comments