feat: marketplace page

This commit is contained in:
Junyan Qin
2025-08-16 18:05:33 +08:00
parent 5179b3e53a
commit 28d4b1dd61
35 changed files with 1095 additions and 395 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import {
} from '@/components/ui/dialog';
import { toast } from 'sonner';
import { useTranslation } from 'react-i18next';
import { i18nObj } from '@/i18n/I18nProvider';
import { extractI18nObject } from '@/i18n/I18nProvider';
export default function LLMConfigPage() {
const { t } = useTranslation();
@@ -33,7 +33,7 @@ export default function LLMConfigPage() {
const requesterNameListResp = await httpClient.getProviderRequesters();
const requesterNameList = requesterNameListResp.requesters.map((item) => {
return {
label: i18nObj(item.label),
label: extractI18nObject(item.label),
value: item.name,
};
});