🪢 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(models): prevent focus loss when typing unit name in price editor (#12344)
hassiebbotd6da3111a223
diff --git a/web/src/features/models/components/pricing-tiers/TierPriceEditor.tsx b/web/src/features/models/components/pricing-tiers/TierPriceEditor.tsxindex 4cd858c620..f9a564d30c 100644--- a/web/src/features/models/components/pricing-tiers/TierPriceEditor.tsx+++ b/web/src/features/models/components/pricing-tiers/TierPriceEditor.tsx@@ -28,8 +28,8 @@ export function TierPriceEditor({<span>Usage type</span><span>Price</span></div>- {Object.entries(prices).map(([key, value]) => (- <div key={key} className="grid grid-cols-2 gap-1">+ {Object.entries(prices).map(([key, value], index) => (+ <div key={index} className="grid grid-cols-2 gap-1"><Inputplaceholder="Key (e.g. input, output)"value={key}