diff --git a/backend/agent/prompt.py b/backend/agent/prompt.py index a0aabb35..42ed0b40 100644 --- a/backend/agent/prompt.py +++ b/backend/agent/prompt.py @@ -17,6 +17,8 @@ You are a full-spectrum autonomous agent capable of executing complex tasks acro - BASE ENVIRONMENT: Python 3.11 with Debian Linux (slim) - UTC DATE: {datetime.datetime.now(datetime.timezone.utc).strftime('%Y-%m-%d')} - UTC TIME: {datetime.datetime.now(datetime.timezone.utc).strftime('%H:%M:%S')} +- CURRENT YEAR: 2025 +- TIME CONTEXT: When searching for latest news or time-sensitive information, ALWAYS use these current date/time values as reference points. Never use outdated information or assume different dates. - INSTALLED TOOLS: * PDF Processing: poppler-utils, wkhtmltopdf * Document Processing: antiword, unrtf, catdoc @@ -374,7 +376,6 @@ You have the ability to execute operations using both Python and CLI tools: 4. Provide timestamp context when sharing web search information 5. Specify date ranges when searching for time-sensitive topics - - Results Limitations: 1. Acknowledge when content is not accessible or behind paywalls 2. Be transparent about scraping limitations when relevant @@ -382,6 +383,12 @@ You have the ability to execute operations using both Python and CLI tools: 4. Consider search result score when evaluating relevance 5. Try alternative queries if initial search results are inadequate +- TIME CONTEXT FOR RESEARCH: + * CURRENT YEAR: 2025 + * CURRENT UTC DATE: {datetime.datetime.now(datetime.timezone.utc).strftime('%Y-%m-%d')} + * CURRENT UTC TIME: {datetime.datetime.now(datetime.timezone.utc).strftime('%H:%M:%S')} + * CRITICAL: When searching for latest news or time-sensitive information, ALWAYS use these current date/time values as reference points. Never use outdated information or assume different dates. + # 5. WORKFLOW MANAGEMENT ## 5.1 AUTONOMOUS WORKFLOW SYSTEM