Update tests to reflect refined built-in workflow routing logic

This commit is contained in:
2026-06-15 21:39:18 +02:00
parent 1609e39840
commit 58cdc17341

View File

@@ -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)