mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
docs(mcp): correct the bridge docstring now that the graft is wired
adapter.py's module docstring still said the bridge was unwired; _create_mcp_client now calls to_server_spec, to_subject, and raise_public on the HTTP/SSE path, so the docstring says that
This commit is contained in:
parent
ed4c55df07
commit
143d7e7329
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@
|
|||
These edge functions translate v1's request objects into the resolver's typed inputs and map
|
||||
its typed errors onto the proxy's public exception contract. They import v1 and live outside the
|
||||
package's public surface so the resolver core (``resolver.py`` / ``types.py``) stays v1-free.
|
||||
Nothing wires them into ``_create_mcp_client`` yet.
|
||||
``_create_mcp_client`` calls them on the HTTP/SSE path: it resolves a migrated mode through the
|
||||
provider and defers every other mode to v1.
|
||||
|
||||
``to_server_spec`` maps only the modes the resolver has gone live for, returning ``None`` for
|
||||
every other mode so the caller defers to v1 (parity-safe); it grows one branch per migrated mode.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue