(prompt: string, context?: CallApiContextParams)
| 402 | } |
| 403 | |
| 404 | async callApi(prompt: string, context?: CallApiContextParams): Promise<ProviderResponse> { |
| 405 | if (!this.isInitialized) { |
| 406 | await this.initialize(); |
| 407 | } |
| 408 | return this.executePythonScript(prompt, context, 'call_api'); |
| 409 | } |
| 410 | |
| 411 | async callEmbeddingApi(prompt: string): Promise<ProviderEmbeddingResponse> { |
| 412 | if (!this.isInitialized) { |
nothing calls this directly
no test coverage detected