mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
satisfy type gate for tool listing
This commit is contained in:
parent
4c52080152
commit
930b1cfc58
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ async def list_tools_with_pagination(
|
|||
# after decoding: it filters invalid x-mcp-header annotations and
|
||||
# records the derived header/output-schema state used by tools/call.
|
||||
# Keep those semantics when injecting the lenient result model.
|
||||
result = session._absorb_tool_listing(
|
||||
result = session._absorb_tool_listing( # pyright: ignore[reportPrivateUsage] # no public equivalent
|
||||
result,
|
||||
complete=cursor is None and result.next_cursor is None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue