🪢 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(ui): update regex matching description (#1031)
Richard Krümmelc89b8c3bab96
diff --git a/src/features/models/components/NewModelForm.tsx b/src/features/models/components/NewModelForm.tsxindex e55465b003..5d2fc198ea 100644--- a/src/features/models/components/NewModelForm.tsx+++ b/src/features/models/components/NewModelForm.tsx@@ -189,10 +189,10 @@ export const NewModelForm = (props: {<Input {...field} /></FormControl><FormDescription>- Regular expression (POSIX) to match ingested generations (model- attribute) to this model definition. For an exact,- case-insensitive match to a model name, use the expression:- (~*)^modelname$+ Regular expression (Postgres syntax) to match ingested+ generations (model attribute) to this model definition. For an+ exact, case-insensitive match to a model name, use the+ expression: (?i)^modelname$</FormDescription><FormMessage /></FormItem>diff --git a/src/server/api/routers/models.ts b/src/server/api/routers/models.tsindex f22db44d83..4165387eae 100644--- a/src/server/api/routers/models.ts+++ b/src/server/api/routers/models.ts@@ -114,7 +114,7 @@ export const modelRouter = createTRPCRouter({} catch (error) {throw new TRPCError({code: "BAD_REQUEST",- message: "Invalid regex, needs to be POSIX compliant",+ message: "Invalid regex, needs to be Postgres syntax",});}