command/bin/bash -lc "sed -n '1,260p' backend/web_retrieval.py"
exit code 0
Output: from __future__ import annotations from datetime import datetime, timezone import re from typing import Any, Dict, List, Optional import httpx from config import get_settings settings = get_settings() DEFAULT_TIMEOUT_SECONDS = 12.0 MAX_QUERY_CHARS = 450 MAX_CONTEXT_CHARS_PER_SOURCE = 900 SENSITIVE_PATTERNS = ( (re.compile(r"\b[\w.+-]+@[\w.-]+\.[A-Za-z]{2,}\b"), "[email]"), (re.compile(r"\b(?:\+?\d[\d\s().-]{7,}\d)\b"), "[phone]"), (re.compile(r"\b\d{1,2}[/-]\d{1,2}[/-]\d{2,4}\b"), "[date]"), (re.compile(r"\b(?:mrn|medical record|nhs number|ssn|passport|id)\s*[:#-]?\s*\w+\b", re.I), "[identifier]"), ) STOPWORDS = { "about", "after", "again", "also", "because", "been", "being", "from", "have", "into", "just", "like", "more", "name", "patient", "please", "that", "their", "there", "these", "this", "with", "years", } def _csv(value: str) -> List[str]: return [item.strip() for item in value.sp