1c78174aaf
Fixes #599 The `callable` keyword in Python is a builtin function to check if something is callable, NOT a type annotation. For type hints, we need `Callable` from the typing module. Changed: - `tool_executor: callable` → `tool_executor: Callable[[ToolUse], ToolResult]` Files updated: - core/framework/llm/provider.py - core/framework/llm/anthropic.py - core/framework/llm/litellm.py This fixes mypy/pyright type checking errors like: "Variable annotation syntax is for types; callable is a function" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>