chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -30,13 +30,13 @@ export const getShowFeedback = ({
|
||||
>;
|
||||
latestSectionId: string;
|
||||
}): boolean => {
|
||||
// 是否是推送的消息
|
||||
// Is it a pushed message?
|
||||
const isPushedMessage = getIsPushedMessage(message);
|
||||
if (isPushedMessage) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// 来自最后一个消息组的 final answer
|
||||
// The final answer from the last message group
|
||||
return (
|
||||
meta.isGroupLastAnswerMessage &&
|
||||
meta.isFromLatestGroup &&
|
||||
|
||||
@@ -28,12 +28,12 @@ export const getShowRegenerate = ({
|
||||
meta: Pick<MessageMeta, 'isFromLatestGroup' | 'sectionId'>;
|
||||
latestSectionId: string;
|
||||
}): boolean => {
|
||||
// 是否是推送的消息
|
||||
// Is it a pushed message?
|
||||
const isPushedMessage = getIsPushedMessage(message);
|
||||
if (isPushedMessage) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// 来自最后一个消息组
|
||||
// From the last message group
|
||||
return getIsLastGroup({ meta, latestSectionId });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user