mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 09:09:40 +08:00
19 lines
441 B
Python
19 lines
441 B
Python
"""Prompt manager path resolution tests."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from deeptutor.services.prompt import get_prompt_manager
|
|
|
|
|
|
def test_prompt_manager_loads_prompts_from_deeptutor_tree() -> None:
|
|
manager = get_prompt_manager()
|
|
manager.clear_cache()
|
|
|
|
prompts = manager.load_prompts(
|
|
module_name="question",
|
|
agent_name="idea_agent",
|
|
language="en",
|
|
)
|
|
|
|
assert "generate_ideas" in prompts
|