chore: correct prompt messages

This commit is contained in:
RockYang
2024-03-22 18:27:57 +08:00
parent fb6a35ebe4
commit 37cdc26160
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ func (h *ChatHandler) sendMessage(ctx context.Context, session *types.ChatSessio
}
if userVo.Power < session.Model.Power {
utils.ReplyMessage(ws, fmt.Sprintf("您当前剩余对话次数(%d)已不足以支付当前模型的单次对话需要消耗的对话额度%d)!", userVo.Power, session.Model.Power))
utils.ReplyMessage(ws, fmt.Sprintf("您当前剩余算力(%d)已不足以支付当前模型的单次对话需要消耗的算力%d)!", userVo.Power, session.Model.Power))
utils.ReplyMessage(ws, ErrImg)
return nil
}