feat: transition to a fully frontend architecture by removing backend dependencies and updating configuration for local deployment

This commit is contained in:
HouYunFei
2026-06-16 12:56:49 +08:00
parent 8a66524ea7
commit 7f0199da59
36 changed files with 571 additions and 1773 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export type ModelCreditCost = {
credits: number;
};
export function modelCreditCost(modelCosts: ModelCreditCost[] | undefined, model: string) {
function modelCreditCost(modelCosts: ModelCreditCost[] | undefined, model: string) {
return modelCosts?.find((item) => item.model === model)?.credits || 0;
}