🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(dataset-run-items): remove PG execution fallbacks (#8685)
marliessophie4bdc46ac314e
diff --git a/packages/shared/src/server/dataset-run-items/datasetExecution.ts b/packages/shared/src/server/dataset-run-items/datasetExecution.tsindex 646d2d8f2d..de20ab4842 100644--- a/packages/shared/src/server/dataset-run-items/datasetExecution.ts+++ b/packages/shared/src/server/dataset-run-items/datasetExecution.ts@@ -71,23 +71,8 @@ export async function executeWithDatasetRunItemsStrategy<TInput, TOutput>({return await postgresExecution(input);}} else {- // For read operations, rely on the strategy- const shouldExecuteClickhouse = strategy.shouldReadFromClickHouse;-- if (shouldExecuteClickhouse) {- try {- return await clickhouseExecution(input);- } catch (error) {- logger.error(- "ClickHouse execution failed, falling back to PostgreSQL",- {- error: error instanceof Error ? error.message : String(error),- operation: `dataset_run_items_${operationType}`,- },- );- // Fallback to PostgreSQL for reliability- return await postgresExecution(input);- }+ if (strategy.shouldReadFromClickHouse) {+ return await clickhouseExecution(input);} else {// Read from PostgreSQLreturn await postgresExecution(input);