Skip to content

Commit cab1558

Browse files
committed
fix: workspace default system prompt
1 parent 899fd7f commit cab1558

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/frontend/platform/src/pages/BuildPage/bench

src/frontend/platform/src/pages/BuildPage/bench/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ const useChatConfig = (refs: UseChatConfigProps, parentFormData, parentSetFormDa
510510
getWorkstationConfigApi().then((res) => {
511511
if (res) {
512512
// 确保 systemPrompt 有值
513-
const defaultSystemPrompt = t('chatConfig.webSearchPrompt')
513+
const defaultSystemPrompt = t('chatConfig.systemPrompt2')
514514
const systemPrompt = res.systemPrompt || defaultSystemPrompt;
515515

516516
setFormData((prev) => {

0 commit comments

Comments
 (0)