Files
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

36 lines
775 B
Python

"""
Prompt Service
==============
Unified prompt management for all DeepTutor modules.
Usage:
from deeptutor.services.prompt import get_prompt_manager, PromptManager
# Get singleton manager
pm = get_prompt_manager()
# Load prompts for an agent
prompts = pm.load_prompts("solve", "solve_agent", language="en")
# Get specific prompt
system_prompt = pm.get_prompt(prompts, "system", "base")
"""
from .language import (
append_language_directive,
language_directive,
language_label,
normalize_language,
)
from .manager import PromptManager, get_prompt_manager
__all__ = [
"PromptManager",
"append_language_directive",
"get_prompt_manager",
"language_directive",
"language_label",
"normalize_language",
]