fix: plan models type checking

This commit is contained in:
Zhang Minghan 2024-01-16 18:14:43 +08:00
parent 5dc965992a
commit 2e509f7cb4
5 changed files with 8 additions and 10 deletions

View File

@ -22,11 +22,6 @@ export type Model = {
tag?: string[];
};
export type PlanModel = {
id: string;
level: number;
};
export type Id = number;
export type ConversationInstance = {

View File

@ -1,4 +1,4 @@
import { Model, PlanModel, Plans } from "@/api/types.ts";
import { Model, Plans } from "@/api/types.ts";
import {
getDev,
getRestApi,

View File

@ -52,7 +52,8 @@
"title": "Model Market",
"model": "Explore more models",
"explore": "Explore",
"search": "Search model name or description"
"search": "Search model name or description",
"model-api": "Model ID name of the API request"
},
"conversation": {
"title": "Conversation",
@ -518,4 +519,4 @@
"reset": "Reset",
"request-error": "Request failed for {{reason}}",
"update": "Updated"
}
}

View File

@ -52,7 +52,8 @@
"title": "モデルマーケット",
"model": "他のモデルを見る",
"explore": "検索",
"search": "モデル名またはイントロダクションを検索"
"search": "モデル名またはイントロダクションを検索",
"model-api": "API要求のモデルID名"
},
"conversation": {
"title": "ダイアログ",

View File

@ -52,7 +52,8 @@
"title": "Рынок моделей",
"model": "Исследуйте больше моделей",
"explore": "Исследовать",
"search": "Поиск по имени модели или описанию"
"search": "Поиск по имени модели или описанию",
"model-api": "Идентификатор модели запроса API"
},
"conversation": {
"title": "Разговор",