This commit is contained in:
archer
2023-05-19 10:31:25 +08:00
parent 246ee973ec
commit d07e5b8501
4 changed files with 8 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ export const pushChatBill = async ({
await connectToDatabase();
// 计算价格
const unitPrice = ChatModelMap[chatModel]?.price || 5;
const unitPrice = ChatModelMap[chatModel]?.price || 3;
const price = unitPrice * tokens;
try {