diff --git a/src/pages/ChatAppPage/mobile/ChatPanneM.tsx b/src/pages/ChatAppPage/mobile/ChatPanneM.tsx
index 41c8f3a..bbeb3c5 100644
--- a/src/pages/ChatAppPage/mobile/ChatPanneM.tsx
+++ b/src/pages/ChatAppPage/mobile/ChatPanneM.tsx
@@ -57,7 +57,7 @@ export default function ChatPanne({ customWsHost = '', data }) {
setAssistant(null)
const _flow = await getFlowApi(id)
await build(_flow, chatId)
- loadHistoryMsg(_flow.id, chatId)
+ loadHistoryMsg(_flow.id, chatId, type)
flowRef.current = _flow
setFlow(_flow)
changeChatId(chatId) // ws
@@ -65,7 +65,7 @@ export default function ChatPanne({ customWsHost = '', data }) {
flowRef.current = null
setFlow(null)
const _assistant = await loadAssistantState(id)
- loadHistoryMsg(_assistant.id, chatId)
+ loadHistoryMsg(_assistant.id, chatId, type)
setAssistant(_assistant)
changeChatId(chatId) // ws
}
@@ -370,7 +370,7 @@ export default function ChatPanne({ customWsHost = '', data }) {
guideWord={flow.guide_word}
wsUrl={wsUrl}
onBeforSend={getWsParamData}
- loadMore={() => loadMoreHistoryMsg(flow.id)}
+ loadMore={() => loadMoreHistoryMsg(flow.id, type)}
inputForm={flowSate.isForm ?
diff --git a/src/pages/DiffFlowPage/components/Cell.tsx b/src/pages/DiffFlowPage/components/Cell.tsx
index eda8530..9276408 100644
--- a/src/pages/DiffFlowPage/components/Cell.tsx
+++ b/src/pages/DiffFlowPage/components/Cell.tsx
@@ -42,7 +42,7 @@ const Cell = forwardRef((props, ref) => {
remarkPlugins={[remarkGfm, remarkMath]}
rehypePlugins={[rehypeMathjax]}
linkTarget="_blank"
- className="bs-mkdown inline-block break-all max-w-full text-sm text-[#111]"
+ className="bs-mkdown inline-block break-all max-w-full text-sm text-[#fff]"
components={{
code: ({ node, inline, className, children, ...props }) => {
if (children.length) {
diff --git a/src/pages/DiffFlowPage/components/Component.tsx b/src/pages/DiffFlowPage/components/Component.tsx
index ac8fbc5..afa3e01 100644
--- a/src/pages/DiffFlowPage/components/Component.tsx
+++ b/src/pages/DiffFlowPage/components/Component.tsx
@@ -39,7 +39,7 @@ export default function Component({ compId, options, disables, version, classNam
{vs.name}
- {vs.update_time.replace('T', ' ').substring(0, 16)}
+ {vs.update_time.replace('T', ' ').substring(0, 16)}
))
@@ -68,7 +68,7 @@ export default function Component({ compId, options, disables, version, classNam
{vs.name}
- {vs.update_time.replace('T', ' ').substring(0, 16)}
+ {vs.update_time.replace('T', ' ').substring(0, 16)}
))
diff --git a/src/pages/DiffFlowPage/components/RunForm.tsx b/src/pages/DiffFlowPage/components/RunForm.tsx
index 47b97e9..c702e84 100644
--- a/src/pages/DiffFlowPage/components/RunForm.tsx
+++ b/src/pages/DiffFlowPage/components/RunForm.tsx
@@ -20,9 +20,9 @@ export default function RunForm({ show, flow, onChangeShow, onSubmit }) {
}
-
+
-
+
};
diff --git a/src/pages/DiffFlowPage/components/RunTest.tsx b/src/pages/DiffFlowPage/components/RunTest.tsx
index e47418e..0bc518f 100644
--- a/src/pages/DiffFlowPage/components/RunTest.tsx
+++ b/src/pages/DiffFlowPage/components/RunTest.tsx
@@ -186,7 +186,7 @@ export default function RunTest({ nodeId }) {
{
if (e.key === 'Enter') {
diff --git a/src/pages/DiffFlowPage/index.tsx b/src/pages/DiffFlowPage/index.tsx
index ddbca35..a7d9f9d 100644
--- a/src/pages/DiffFlowPage/index.tsx
+++ b/src/pages/DiffFlowPage/index.tsx
@@ -33,7 +33,7 @@ export default function index(params) {
addEmptyVersionFlow()
}
- console.log('mulitVersionFlow', mulitVersionFlow);
+ // console.log('mulitVersionFlow', mulitVersionFlow);
return
diff --git a/src/pages/FlowPage/components/Header.tsx b/src/pages/FlowPage/components/Header.tsx
index 4e4db08..a303bad 100644
--- a/src/pages/FlowPage/components/Header.tsx
+++ b/src/pages/FlowPage/components/Header.tsx
@@ -46,7 +46,7 @@ export default function Header({ flow }) {
const { reactFlowInstance } = useContext(typesContext);
const isPending = tabsState[flow.id]?.isPending;
- console.log(isPending)
+ // console.log(isPending)
const { openPopUp } = useContext(PopUpContext);
// 记录快照
const { takeSnapshot } = useContext(undoRedoContext);
@@ -167,17 +167,17 @@ export default function Header({ flow }) {
handleChangeVersion(vid)
}} className="gap-0">
{versions.map((vers, index) => (
-
+
changeName(vers.id, val)}
>
-
{vers.update_time.replace('T', ' ').substring(0, 16)}
+
{vers.update_time.replace('T', ' ').substring(0, 16)}
{
// 最后一个 V0 版本和当前选中版本不允许删除
diff --git a/src/pages/SkillPage/components/CardSelectVersion.tsx b/src/pages/SkillPage/components/CardSelectVersion.tsx
index a7cad03..fcfeaa1 100644
--- a/src/pages/SkillPage/components/CardSelectVersion.tsx
+++ b/src/pages/SkillPage/components/CardSelectVersion.tsx
@@ -13,7 +13,7 @@ const SelectComp = ({ value, onChange = (id) => { }, data, disabled = false }) =
}
return