remove old prompts.py

This commit is contained in:
AI Christianson 2025-03-02 13:52:45 -05:00
parent fd1025f74c
commit 5736144d89
2 changed files with 10 additions and 22 deletions

View File

@ -54,18 +54,24 @@ from ra_aid.project_info import (
format_project_info,
get_project_info,
)
from ra_aid.prompts import (
from ra_aid.prompts.expert_prompts import (
EXPERT_PROMPT_SECTION_IMPLEMENTATION,
EXPERT_PROMPT_SECTION_PLANNING,
EXPERT_PROMPT_SECTION_RESEARCH,
)
from ra_aid.prompts.human_prompts import (
HUMAN_PROMPT_SECTION_IMPLEMENTATION,
HUMAN_PROMPT_SECTION_PLANNING,
HUMAN_PROMPT_SECTION_RESEARCH,
IMPLEMENTATION_PROMPT,
NEW_PROJECT_HINTS,
PLANNING_PROMPT,
)
from ra_aid.prompts.implementation_prompts import IMPLEMENTATION_PROMPT
from ra_aid.prompts.common_prompts import NEW_PROJECT_HINTS
from ra_aid.prompts.planning_prompts import PLANNING_PROMPT
from ra_aid.prompts.research_prompts import (
RESEARCH_ONLY_PROMPT,
RESEARCH_PROMPT,
)
from ra_aid.prompts.web_research_prompts import (
WEB_RESEARCH_PROMPT,
WEB_RESEARCH_PROMPT_SECTION_CHAT,
WEB_RESEARCH_PROMPT_SECTION_PLANNING,

View File

@ -1,18 +0,0 @@
"""
Backward compatibility layer for the prompts module.
This module imports and re-exports all prompt constants from the prompts package.
It is maintained for backward compatibility with existing code.
DEPRECATED: Import directly from ra_aid.prompts package modules instead.
"""
import warnings
warnings.warn(
"ra_aid.prompts module is deprecated. Import from ra_aid.prompts package instead.",
DeprecationWarning,
stacklevel=2,
)
from ra_aid.prompts import *