🪢 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(web): tidy playground empty-state copy and spacing (#17406)
tobi_kleaa321f87957
diff --git a/web/src/components/ModelParameters/index.tsx b/web/src/components/ModelParameters/index.tsxindex 2292321679..47f68f8d9a 100644--- a/web/src/components/ModelParameters/index.tsx+++ b/web/src/components/ModelParameters/index.tsx@@ -98,7 +98,7 @@ export const ModelParameters: React.FC<ModelParamsContext> = ({if (availableProviders.length === 0) {return (- <div className="flex flex-col space-y-4 pr-1">+ <div className="flex flex-col pr-1">{customHeader ? (customHeader) : (@@ -106,7 +106,6 @@ export const ModelParameters: React.FC<ModelParamsContext> = ({<p className="font-bold">Model</p></div>)}- <p className="text-xs">No LLM API key set in project. </p><CreateLLMApiKeyDialogopen={createLlmApiKeyDialogOpen}setOpen={setCreateLlmApiKeyDialogOpen}diff --git a/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx b/web/src/features/playground/page/components/NoModelConfiguredAlert.tsxindex 822fd01105..0e8a074b8d 100644--- a/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx+++ b/web/src/features/playground/page/components/NoModelConfiguredAlert.tsx@@ -10,9 +10,9 @@ export function NoModelConfiguredAlert({projectId,}: NoModelConfiguredAlertProps) {return (- <div className="p-4">+ <div className="px-4 pt-4"><Alert variant="warning" icon={AlertCircle}>- <Alert.Title>No Model Configured</Alert.Title>+ <Alert.Title>No LLM Connection Configured</Alert.Title><Alert.Description>To use the playground, you need to configure a model first. Go to{" "}<Link