feat(canvas): 模型选择 - 支持彩色展示标签并优化目录与积分交互

This commit is contained in:
ddCat
2026-09-21 11:11:10 +08:00
parent d5ff22258e
commit b8eefdad70
31 changed files with 410 additions and 63 deletions

View File

@@ -1,4 +1,5 @@
import { http } from "@/services/api/request";
import type { ModelTag } from "@/lib/model-tags";
export type CreditAccount = {
@@ -53,6 +54,7 @@ export type ChannelModel = {
providerModelKey: string;
displayName: string;
channelLabel?: string;
tags?: ModelTag[];
description?: string;
sortOrder?: number;
icon: string;
@@ -109,6 +111,7 @@ export type ChannelModelMutation = {
providerModelKey?: string;
displayName?: string;
channelLabel?: string;
tags?: ModelTag[];
description?: string;
icon?: string;
capability: ChannelModel["capability"];