Success response model for the /api/ingest endpoint. Attributes ---------- repo_url : str The original repository URL that was processed. short_repo_url : str Short form of repository URL (user/repo). summary : str Summary of the ingestion process includi
| 63 | |
| 64 | |
| 65 | class IngestSuccessResponse(BaseModel): |
| 66 | """Success response model for the /api/ingest endpoint. |
| 67 | |
| 68 | Attributes |
| 69 | ---------- |
| 70 | repo_url : str |
| 71 | The original repository URL that was processed. |
| 72 | short_repo_url : str |
| 73 | Short form of repository URL (user/repo). |
| 74 | summary : str |
| 75 | Summary of the ingestion process including token estimates. |
| 76 | digest_url : str |
| 77 | URL to download the full digest content (either S3 URL or local download endpoint). |
| 78 | tree : str |
| 79 | File tree structure of the repository. |
| 80 | content : str |
| 81 | Processed content from the repository files. |
| 82 | default_max_file_size : int |
| 83 | The file size slider position used. |
| 84 | pattern_type : str |
| 85 | The pattern type used for filtering. |
| 86 | pattern : str |
| 87 | The pattern used for filtering. |
| 88 | |
| 89 | """ |
| 90 | |
| 91 | repo_url: str = Field(..., description="Original repository URL") |
| 92 | short_repo_url: str = Field(..., description="Short repository URL (user/repo)") |
| 93 | summary: str = Field(..., description="Ingestion summary with token estimates") |
| 94 | digest_url: str = Field(..., description="URL to download the full digest content") |
| 95 | tree: str = Field(..., description="File tree structure") |
| 96 | content: str = Field(..., description="Processed file content") |
| 97 | default_max_file_size: int = Field(..., description="File size slider position used") |
| 98 | pattern_type: str = Field(..., description="Pattern type used") |
| 99 | pattern: str = Field(..., description="Pattern used") |
| 100 | |
| 101 | |
| 102 | class IngestErrorResponse(BaseModel): |
no outgoing calls
no test coverage detected