🪢 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
fix: improve filteroptions api (#1993)
Max Deichmannec1a9c53e7a0
diff --git a/web/src/server/api/routers/generations/filterOptionsQuery.ts b/web/src/server/api/routers/generations/filterOptionsQuery.tsindex 760997b0ed..5a855cbce8 100644--- a/web/src/server/api/routers/generations/filterOptionsQuery.ts+++ b/web/src/server/api/routers/generations/filterOptionsQuery.ts@@ -59,7 +59,7 @@ export const filterOptionsQuery = protectedProjectProcedureAND o.prompt_id IS NOT NULLAND p.project_id = ${input.projectId}GROUP BY 1- LIMIT 1000+ LIMIT 1000;`);const traceName = await ctx.prisma.$queryRaw<Array<{@@ -76,7 +76,7 @@ export const filterOptionsQuery = protectedProjectProcedureAND o.project_id = ${input.projectId}AND t.project_id = ${input.projectId}GROUP BY 1- LIMIT 1000+ LIMIT 1000;`);// typecheck filter options, needs to include all columns with options