Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / class
ContextRequest
codeintel.context.ContextRequest
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| retrieve_context | router.py | through an import |
| build_mcp_server | native_server.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| context | context.py | same file |
codeintel.context.ContextRequestbackend/app/codeintel/context.py, lines 46–61Open source
@dataclassclass ContextRequest: query: str repository: str | None = None max_chunks: int = 8 mode: str = "auto" include_code: bool = True include_related: bool = True include_rules: bool = True include_memory: bool = True profile_id: str | None = None # a CodingProfile's rules instead of the repository's max_chars: int = 24_000 languages: list[str] | None = None path_prefix: str | None = None kinds: list[str] | None = None hints: list[str] | None = None # identifiers / keywords the caller guessesWhat the index recorded
- Signature
class ContextRequest:- File
backend/app/codeintel/context.py- Lines
- 46–61
- Parser
- python-ast
- Git blob
0c4a7dd4639651a5c13142d168630e344439f22a- Outside this subset
- 15 more edges reach code outside the graph shown here
