Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ui): correct model selector and token modal display issues

Steven Enamakelc2b9bcd4f7bf
diff --git a/app/src/components/assistant-ui/model-selector.tsx b/app/src/components/assistant-ui/model-selector.tsx
index 13830197fa..7a19ef013d 100644
--- a/app/src/components/assistant-ui/model-selector.tsx
+++ b/app/src/components/assistant-ui/model-selector.tsx
@@ -357,9 +357,10 @@ function useLazyFlipSide(): {
* one automatically when unfiltered.
*/
function ModelSelectorFocusAnchor() {
+ const { t } = useT();
return (
<div className="sr-only">
- <CommandInput readOnly aria-label="Model" />
+ <CommandInput readOnly aria-label={t('composer.modelSelector', 'Model')} />
</div>
);
}
diff --git a/app/src/components/settings/panels/wallet/ManageTokensModal.tsx b/app/src/components/settings/panels/wallet/ManageTokensModal.tsx
index 3089b13525..f4a309f552 100644
--- a/app/src/components/settings/panels/wallet/ManageTokensModal.tsx
+++ b/app/src/components/settings/panels/wallet/ManageTokensModal.tsx
@@ -45,12 +45,12 @@ export default function ManageTokensModal({ open, onClose, tokens }: ManageToken
<div className="flex items-center justify-between border-b border-line-subtle px-4 py-4">
<div className="w-8" />
<DialogPrimitive.Title className="text-sm font-semibold text-content m-0 p-0">
- Manage tokens
+ {t('walletBalances.manageTokens', 'Manage tokens')}
</DialogPrimitive.Title>
<button
onClick={onClose}
className="flex h-8 w-8 items-center justify-center rounded-full text-content-muted hover:bg-surface-hover hover:text-content transition-colors"
- aria-label="Close">
+ aria-label={t('common.close', 'Close')}>
<svg
className="h-5 w-5"
fill="none"