Files
DeepTutor/deeptutor/api/utils
evan188199-tech 70d65c0029 fix(api): warn when a deferred tool's definition fails to load (#1731)
* fix(api): warn when a deferred tool's definition fails to load

build_tool_options swallowed get_definition() errors on deferred (MCP)
tools with a bare continue, so a broken tool silently vanished from
the options surface with no trace of why it was unavailable. The skip
now logs a warning naming the provider and adapter class plus the
failure reason; enumeration of the remaining tools is unchanged.

* style(api): ruff-format deferred tool definition warning changes

---------

Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:22:03 +08:00
..
2026-08-17 11:22:26 +08:00
2026-08-02 13:07:32 +08:00