(
private readonly llmConfig: LLMConfig,
private readonly execute?: (code: string, signal?: AbortSignal) => Promise<ExecutionResult>
)
| 20 | Do not read files, access the network, install packages, or print the answer.`; |
| 21 | |
| 22 | constructor( |
| 23 | private readonly llmConfig: LLMConfig, |
| 24 | private readonly execute?: (code: string, signal?: AbortSignal) => Promise<ExecutionResult> |
| 25 | ) {} |
| 26 | |
| 27 | async getDSL(query: string, dataModel: DataModel, signal?: AbortSignal): Promise<TranslationResult> { |
| 28 | const { text, usage, finishReason } = await generateText({ |
nothing calls this directly
no outgoing calls
no test coverage detected