chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -74,7 +74,7 @@ export const sendTeaEventOnBeforeSendMessage = (params: {
|
||||
message_id: message.extra_info.local_message_id,
|
||||
bot_id: botId,
|
||||
};
|
||||
// 原本逻辑就只在这三个场景 sendTea
|
||||
// The original logic is only in these three scenes sendTea
|
||||
if (from === 'inputAndSend') {
|
||||
sendTeaEvent(EVENT_NAMES.click_send_message, {
|
||||
from: 'type',
|
||||
@@ -179,7 +179,7 @@ export const updateAgentBeforeSendMessage: (
|
||||
|
||||
const regeneratedMessageBotState = getBotState(message.extra_info.bot_state);
|
||||
|
||||
// regenerate 消息时 把 currentAgentId 设置为对应 userMessage 的 agentId
|
||||
// When regenerating the message, set the currentAgentId to the agentId corresponding to the userMessage.
|
||||
const fixedAgentId =
|
||||
currentAgentID === useManuallySwitchAgentStore.getState().agentId
|
||||
? currentAgentID
|
||||
|
||||
Reference in New Issue
Block a user