🪢 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
feat(ui): enable the creation of a new LLM connection from the LLM selection dropdown (#4819)
Marc Klingen155543bc9343
diff --git a/web/src/components/ModelParameters/index.tsx b/web/src/components/ModelParameters/index.tsxindex c4a47ee60d..44f7c98728 100644--- a/web/src/components/ModelParameters/index.tsx+++ b/web/src/components/ModelParameters/index.tsx@@ -3,6 +3,7 @@ import {Select,SelectContent,SelectItem,+ SelectSeparator,SelectTrigger,SelectValue,} from "@/src/components/ui/select";@@ -69,6 +70,7 @@ export const ModelParameters: React.FC<value={modelParams.provider.value}options={availableProviders}updateModelParam={updateModelParamValue}+ evalModelsOnly={evalModelsOnly}/><ModelParamsSelecttitle="Model name"@@ -147,6 +149,7 @@ type ModelParamsSelectProps = {updateModelParam: ModelParamsContext["updateModelParamValue"];disabled?: boolean;modelParamsDescription?: string;+ evalModelsOnly?: boolean;};const ModelParamsSelect = ({title,@@ -156,6 +159,7 @@ const ModelParamsSelect = ({updateModelParam,disabled,modelParamsDescription,+ evalModelsOnly,}: ModelParamsSelectProps) => {return (<div className="space-y-2">@@ -186,6 +190,8 @@ const ModelParamsSelect = ({{option}</SelectItem>))}+ <SelectSeparator />+ <CreateLLMApiKeyDialog evalModelsOnly={evalModelsOnly} /></SelectContent></Select>{modelParamsDescription ? (