mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 07:09:11 +02:00
Add ListTools, search limit, and catalog size annotation to CodeMode (#3359)
* Add tests for two-stage pattern, empty full-detail results, empty inputs * Add ListTools, search limit, catalog size annotation; split tests Co-authored-by: Claude <noreply@anthropic.com> * Remove BM25 internal cap so Search.limit is the sole truncation point * Pass default_limit to BM25 instead of arbitrary high cap --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
49534ce91d
commit
404b820144
7 changed files with 704 additions and 264 deletions
|
|
@ -13,7 +13,7 @@ Run with:
|
|||
"""
|
||||
|
||||
from fastmcp import FastMCP
|
||||
from fastmcp.experimental.transforms import CodeMode
|
||||
from fastmcp.experimental.transforms.code_mode import CodeMode
|
||||
|
||||
mcp = FastMCP("CodeMode Demo")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue