mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-06-12 19:55:17 +02:00
fix(filesystem): search workspace topic questions before clarifying
This commit is contained in:
parent
75acf5dce3
commit
fe1c4aeb1c
2 changed files with 9 additions and 0 deletions
|
|
@ -215,6 +215,9 @@ class PIFSAgentStreamTest(unittest.TestCase):
|
|||
self.assertIn("current PageIndex FileSystem\nworkspace", AGENT_SYSTEM_PROMPT)
|
||||
self.assertIn("unrelated to the current workspace", AGENT_SYSTEM_PROMPT)
|
||||
self.assertIn("do not answer it as\na general-purpose assistant", AGENT_SYSTEM_PROMPT)
|
||||
self.assertIn("workspace-related topic question", AGENT_SYSTEM_PROMPT)
|
||||
self.assertIn("clarify only after a reasonable search", AGENT_SYSTEM_PROMPT)
|
||||
self.assertIn("search for candidate documents before asking", AGENT_TOOL_POLICY)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue