feat: refine job handling by filtering active jobs and updating date context in prompts

This commit is contained in:
jxxghp
2026-05-11 13:15:32 +08:00
parent 1b2433f7c2
commit b7fc5b0203
8 changed files with 302 additions and 36 deletions
+2
View File
@@ -35,6 +35,8 @@ class TestAgentPromptStyle(unittest.TestCase):
"Do not let user memory or persona style override this core identity",
prompt,
)
self.assertIn("当前日期", prompt)
self.assertNotIn("当前时间", prompt)
def test_runtime_config_middleware_injects_persona_only(self):
middleware = RuntimeConfigMiddleware()