MCPcopy Create free account
hub / github.com/antvis/AVA / PythonEngineOptions

Interface PythonEngineOptions

src/types.ts:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 * Python engine options.
187 */
188export 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. */
201export type EngineClass = new (llmConfig: LLMConfig, options?: Record<string, unknown>) => AnalysisEngine;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected