mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Add IWC routing regression cases
Pin the routing for IWC-related asks so a model or prompt change that breaks it gets caught. Both phrasings -- the imperative "import a workflow from IWC" and the "recommend an IWC workflow for X" discovery ask -- should route to tool_recommendation, which owns IWC search and surfaces an importable workflow plus an import action. Flips the existing import_iwc_workflow expectation to match and adds a recommendation-phrasing case.
This commit is contained in:
@@ -194,8 +194,8 @@ ROUTING_CASES: list[Case[str, str, dict[str, Any]]] = [
|
||||
_case(
|
||||
"import_iwc_workflow",
|
||||
"Import a histological staining workflow from IWC.",
|
||||
"router",
|
||||
"Router-direct action. On agent-ops-iwc-reintroduce this triggers search_iwc_workflows + import_workflow_from_iwc tool calls.",
|
||||
"tool_recommendation",
|
||||
"tool_recommendation owns IWC search (search_iwc_workflows) and emits a WORKFLOW_IMPORT action for the surfaced workflow; no in-app agent calls import_workflow_from_iwc directly.",
|
||||
),
|
||||
_case(
|
||||
"omero_upload_guidance",
|
||||
@@ -223,6 +223,12 @@ ROUTING_CASES: list[Case[str, str, dict[str, Any]]] = [
|
||||
"custom_tool",
|
||||
"Explicit custom_tool request -- writing a tool wrapper, not running an existing one.",
|
||||
),
|
||||
_case(
|
||||
"recommend_iwc_workflow",
|
||||
"Recommend an IWC workflow for histological staining quantification.",
|
||||
"tool_recommendation",
|
||||
"Recommendation-style IWC ask -- discovery phrasing routes to tool_recommendation, which searches IWC and surfaces an importable workflow.",
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user