🪢 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: add anchor tags to settings page (#2312)
Hassieb Pakzad03094953b8cc
diff --git a/web/src/components/ModelParameters/LLMApiKeyComponent.tsx b/web/src/components/ModelParameters/LLMApiKeyComponent.tsxindex 915bd52b22..c132ea8a11 100644--- a/web/src/components/ModelParameters/LLMApiKeyComponent.tsx+++ b/web/src/components/ModelParameters/LLMApiKeyComponent.tsx@@ -47,7 +47,7 @@ export const LLMApiKeyComponent = (p: {<Label className="text-xs font-semibold">API key</Label><div>{apiKey ? (- <Link href={`/project/${p.projectId}/settings`}>+ <Link href={`/project/${p.projectId}/settings#llm-api-keys`}><span className="mr-2 rounded-sm bg-input p-1 text-xs">{apiKey.displaySecretKey}</span>diff --git a/web/src/features/manual-scoring/components/AnnotateButton.tsx b/web/src/features/manual-scoring/components/AnnotateButton.tsxindex 160e83712f..1b64991597 100644--- a/web/src/features/manual-scoring/components/AnnotateButton.tsx+++ b/web/src/features/manual-scoring/components/AnnotateButton.tsx@@ -477,7 +477,9 @@ export function AnnotateButton({type: type,source: source,});- router.push(`/project/${projectId}/settings`);+ router.push(+ `/project/${projectId}/settings#score-configs`,+ );}}>Manage score configsdiff --git a/web/src/features/manual-scoring/components/ScoreConfigSettings.tsx b/web/src/features/manual-scoring/components/ScoreConfigSettings.tsxindex 54090452c4..1d9edf81f9 100644--- a/web/src/features/manual-scoring/components/ScoreConfigSettings.tsx+++ b/web/src/features/manual-scoring/components/ScoreConfigSettings.tsx@@ -13,7 +13,7 @@ export function ScoreConfigSettings({ projectId }: { projectId: string }) {if (!hasReadAccess) return null;return (- <div>+ <div id="score-configs"><Header title="Score Configs" level="h3" /><p className="mb-4 text-sm">Score configs define which scores are available for{" "}diff --git a/web/src/features/public-api/components/LLMApiKeyList.tsx b/web/src/features/public-api/components/LLMApiKeyList.tsxindex e302d14b6e..db9791e818 100644--- a/web/src/features/public-api/components/LLMApiKeyList.tsx+++ b/web/src/features/public-api/components/LLMApiKeyList.tsx@@ -47,8 +47,12 @@ export function LlmApiKeyList(props: { projectId: string }) {if (env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION === undefined) return null;return (- <div>+ <div id="llm-api-keys"><Header title="LLM API keys" level="h3" />+ <p className="mb-4 text-sm">+ These keys are used to power the Langfuse playground and evaluations+ feature and will incur costs based on usage with your key provider.+ </p><Card className="mb-4"><Table><TableHeader>