Inspect ToolExecutor for timeout settings.
()
| 93 | |
| 94 | |
| 95 | def inspect_tool_executor(): |
| 96 | """Inspect ToolExecutor for timeout settings.""" |
| 97 | print("\n⚡ Inspecting ToolExecutor...") |
| 98 | |
| 99 | try: |
| 100 | from chuk_tool_processor.execution.tool_executor import ToolExecutor |
| 101 | |
| 102 | sig = inspect.signature(ToolExecutor.__init__) |
| 103 | print(f" ToolExecutor.__init__ signature: {sig}") |
| 104 | |
| 105 | for param_name, param in sig.parameters.items(): |
| 106 | if param.default != inspect.Parameter.empty: |
| 107 | print(f" - {param_name} default: {param.default}") |
| 108 | |
| 109 | print(f" ToolExecutor source: {inspect.getfile(ToolExecutor)}") |
| 110 | |
| 111 | except ImportError as e: |
| 112 | print(f" Could not import ToolExecutor: {e}") |
| 113 | |
| 114 | |
| 115 | def find_timeout_in_source(): |
no outgoing calls
no test coverage detected