Skip to content

Commit

Permalink
Merge branch 'fix/context-switch-problem' into deploy/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjoel committed Oct 19, 2023
2 parents 85fbd5c + 7010a56 commit 3baaddb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion web/app/components/app/configuration/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ const Configuration: FC = () => {
}
syncToPublishedConfig(config)
setPublishedConfig(config)

setDatasetConfigs(modelConfig.dataset_configs)
setHasFetchedDetail(true)
})
}, [appId])
Expand Down
8 changes: 4 additions & 4 deletions web/i18n/lang/app-debug.en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const translation = {
line2: 'Engineering',
},
promptMode: {
simple: 'Switch to Advanced Mode to edit the whole PROMPT',
advanced: 'Advanced Mode',
simple: 'Switch to Expert Mode to edit the whole PROMPT',
advanced: 'Expert Mode',
switchBack: 'Switch back',
advancedWarning: {
title: 'You have switched to Advanced Mode, and once you modify the PROMPT, you CANNOT return to the simple mode.',
description: 'In Advanced Mode, you can edit whole PROMPT.',
title: 'You have switched to Expert Mode, and once you modify the PROMPT, you CANNOT return to the basic mode.',
description: 'In Expert Mode, you can edit whole PROMPT.',
learnMore: 'Learn more',
ok: 'OK',
},
Expand Down
10 changes: 5 additions & 5 deletions web/i18n/lang/app-debug.zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const translation = {
line2: '编排',
},
promptMode: {
simple: '切换到高级模式以编辑完整的提示词',
advanced: '高级模式',
switchBack: '返回简单模式',
simple: '切换到专家模式以编辑完整的提示词',
advanced: '专家模式',
switchBack: '返回简易模式',
advancedWarning: {
title: '您已切换到高级模式,一旦修改提示词,将无法返回简单模式。',
description: '在高级模式下,您可以编辑完整的提示词。',
title: '您已切换到专家模式,一旦修改提示词,将无法返回简易模式。',
description: '在专家模式下,您可以编辑完整的提示词。',
learnMore: '了解更多',
ok: '确定',
},
Expand Down

0 comments on commit 3baaddb

Please sign in to comment.