mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
feat: refine job handling by filtering active jobs and updating date context in prompts
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user