diff --git a/prompts/code_prompts.py b/prompts/code_prompts.py index 11d925b6..82fe7104 100644 --- a/prompts/code_prompts.py +++ b/prompts/code_prompts.py @@ -67,6 +67,13 @@ - Use the EXACT paper ID provided in the message (PAPER_ID=X). - Save path MUST be: ./deepcode_lab/papers/{PAPER_ID}/{PAPER_ID}.md +CRITICAL OUTPUT RESTRICTIONS: +- RETURN ONLY THE RAW JSON OBJECT DESCRIBED BELOW +- NO markdown code fences (```json) +- NO explanatory or conversational text before or after the JSON +- NO tool call commentary or step-by-step narration in the final reply +- IF YOU NEED TO EXPLAIN YOUR ACTIONS, DO SO THROUGH TOOL CALLS ONLY. THE FINAL ASSISTANT MESSAGE MUST BE JSON. + Processing Rules: 1. URL Input (input_type = "url"): - Use download_file_to tool with: url=, destination="./deepcode_lab/papers/{PAPER_ID}/", filename="{PAPER_ID}.md"