| 186 | * Python engine options. |
| 187 | */ |
| 188 | export interface PythonEngineOptions { |
| 189 | /** |
| 190 | * Override local python3 execution with a custom environment. Local execution is not sandboxed. |
| 191 | * Run the complete Python script and return its JSON output as ExecutionResult. |
| 192 | * Each query first sends a compile-only validation script, then the source-loading and result script. |
| 193 | * Configure remote execution deadlines separately. |
| 194 | */ |
| 195 | execute?: (code: string) => Promise<ExecutionResult>; |
| 196 | /** Wait and local process deadline for each validation or execution call. Default 30000 ms. */ |
| 197 | queryTimeoutMs?: number; |
| 198 | } |
| 199 | |
| 200 | /** Constructor signature every engine class must satisfy. */ |
| 201 | export type EngineClass = new (llmConfig: LLMConfig, options?: Record<string, unknown>) => AnalysisEngine; |
nothing calls this directly
no outgoing calls
no test coverage detected