mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-16 04:33:12 +00:00
* fix(search): accept CLI queries that look like numbers The CLI parses key=value arguments into typed values, so query=404 reached the search steps as an int and failed on .strip(), and query=NaN or query=Infinity became non-finite floats that the HTTP client cannot encode as JSON and the MCP client sends as null. Read the query as text in the four search steps, as ChatStep already does, and keep values that float() reads as NaN or infinity as strings. * fix(search): treat only a missing query as empty str(query or "") turned query=0 and query=0.0 into an empty string, so those searches still failed with "query cannot be empty". Check for None before converting instead. The BEAM and LME plugins replace the default search job with their own SearchV2Step, which still called .strip() on the raw value, so query=404 raised AttributeError when either plugin was enabled. Read the query the same way there. The numeric-query test is now parametrized over the six steps and passes 404, 0 and 0.0 through parse_kwargs first. |
||
|---|---|---|
| .. | ||
| reference | ||
| auto_dream.md | ||
| auto_link.md | ||
| auto_memory.md | ||
| auto_resource.md | ||
| blog_20260920.md | ||
| blog_20261009.md | ||
| configuration.md | ||
| contributing.md | ||
| docker.md | ||
| faq.md | ||
| framework.md | ||
| index.md | ||
| integrations.md | ||
| memory_as_file.md | ||
| memory_search.md | ||
| operations.md | ||
| plugin_development.md | ||
| plugin_management.md | ||
| proactive.md | ||
| quick_start.md | ||
| reme-blog.md | ||
| reme_scene.md | ||
| services.md | ||
| traffic.md | ||