From 3895d74aee877f404eec00fc5cc59aa0afc87f70 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Mon, 2 Feb 2026 20:08:42 +0530 Subject: [PATCH] Agent prompt: fix base URL + header formatting --- backend/app/api/org.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/app/api/org.py b/backend/app/api/org.py index e1f693b..fdd80a7 100644 --- a/backend/app/api/org.py +++ b/backend/app/api/org.py @@ -34,9 +34,9 @@ def _default_agent_prompt(emp: Employee) -> str: f"Your employee_id is {emp.id}.\n" f"Title: {title}. Department id: {dept}.\n\n" "Mission Control API access (no UI):\n" - "- Base URL: http://127.0.0.1:8000 (if running locally) OR http://:8000\n" - "- Auth: none. REQUIRED header on write operations: X-Actor-Employee-Id: \n" - f" For you: X-Actor-Employee-Id: {emp.id}\n\n" + "- Base URL: http://127.0.0.1:8000 (if running on the same machine as the backend) OR http://:8000\n" + "- Auth: none. REQUIRED header on ALL write operations: X-Actor-Employee-Id: \n" + f" Example for you: X-Actor-Employee-Id: {emp.id}\n\n" "Common endpoints (JSON):\n" "- GET /tasks, POST /tasks\n" "- GET /task-comments, POST /task-comments\n"