From 58cdc17341bf28bed95a8dd0273acf6322f89aa2 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 15 Jun 2026 21:39:18 +0200 Subject: [PATCH] Update tests to reflect refined built-in workflow routing logic --- backend/tests/test_workflow_router_builtins.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/tests/test_workflow_router_builtins.py b/backend/tests/test_workflow_router_builtins.py index 47058bf..3c4a532 100644 --- a/backend/tests/test_workflow_router_builtins.py +++ b/backend/tests/test_workflow_router_builtins.py @@ -170,11 +170,11 @@ class RouterAndBuiltinTests(unittest.IsolatedAsyncioTestCase): self.assertIn("Resolve the current message into a standalone request", prompt) self.assertIn("capabilities cover the required work", prompt) self.assertIn("Do not choose a workflow because an example sounds similar", prompt) - self.assertIn("Choose a web workflow when the request needs external facts", prompt) + self.assertIn("Choose a web-answer workflow when the missing capability is external facts", prompt) self.assertIn("Short follow-ups usually inherit the previous subject", prompt) self.assertIn("Routing contract:", prompt) - self.assertIn("This workflow performs one bounded search/fetch/rank pass", prompt) - self.assertIn("Choose when the standalone request needs an investigation", prompt) + self.assertIn("default web workflow for direct answer requests", prompt) + self.assertIn("Choose only when the standalone request needs an investigation", prompt) self.assertIn("Allowed workflows. This list is already filtered", prompt) self.assertIn("web-answer", prompt) self.assertNotIn("input-output", prompt)