Context about a single function for metadata generation.
| 75 | |
| 76 | # Metadata-only models (for incremental updates) |
| 77 | class FunctionContext(BaseModel): |
| 78 | """Context about a single function for metadata generation.""" |
| 79 | name: str |
| 80 | line: int |
| 81 | type: str # llm, trigger, function |
| 82 | calls: List[str] # Functions it calls |
| 83 | code: Optional[str] = None # Optional function source |
| 84 | |
| 85 | class FileStructureContext(BaseModel): |
| 86 | """Structure context for a file (from local tree-sitter analysis).""" |
nothing calls this directly
no outgoing calls
no test coverage detected