Download src/components/shared/free-models-note.tsx from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 634 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/shared/free-models-note.tsx
- Command line
-
hf download hf://SaylorTwift/openhands/src/components/shared/free-models-note.tsx
-
curl -L -o free-models-note.tsx https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/shared/free-models-note.tsx
634 Bytes
| import { Info } from "lucide-react"; | |
| import { useTranslation } from "react-i18next"; | |
| import { I18nKey } from "#/i18n/declaration"; | |
| export function FreeOpenHandsModelsNote({ | |
| modelIds, | |
| }: { | |
| modelIds: Iterable<string>; | |
| }) { | |
| const { t } = useTranslation("openhands"); | |
| return ( | |
| <p | |
| data-testid="openhands-free-models-note" | |
| className="flex items-start gap-2 text-xs text-warning" | |
| > | |
| <Info className="mt-0.5 size-4 shrink-0 text-warning" aria-hidden /> | |
| <span> | |
| {t(I18nKey.SETTINGS$OPENHANDS_FREE_MODELS_NOTE, { | |
| ids: [...modelIds].join(", "), | |
| })} | |
| </span> | |
| </p> | |
| ); | |
| } | |