ee01487ce3
- Moved 221-line system prompt from core/coding_prompt.py to prompts/coding_agent.txt - core/coding_prompt.py now loads prompt from external file using pathlib - Maintains backward compatibility with existing CODING_AGENT_SYSTEM_PROMPT export - Enables separate version control and A/B testing of prompts
10 lines
265 B
Python
10 lines
265 B
Python
"""Coding agent system prompt, loaded from external file."""
|
|
|
|
from pathlib import Path
|
|
|
|
_PROMPTS_DIR: Path = Path(__file__).resolve().parent.parent / "prompts"
|
|
|
|
CODING_AGENT_SYSTEM_PROMPT: str = (_PROMPTS_DIR / "coding_agent.txt").read_text(
|
|
encoding="utf-8"
|
|
)
|