feat: apply selected experts as role prompts on the conversation runtime
This commit is contained in:
@@ -3035,7 +3035,7 @@ describe('SettingsPanel runtime files', () => {
|
||||
'自动选择 1 位专家'
|
||||
)
|
||||
expect(screen.getByText(/未显式选择专家或团队时/)).toHaveTextContent(
|
||||
'子专家使用默认文本模型和已启用工具'
|
||||
'专家提示词作为角色提示词,由当前会话的 Runtime 直接执行'
|
||||
)
|
||||
|
||||
fireEvent.click(smartRouting)
|
||||
|
||||
@@ -867,7 +867,7 @@ export const settings = {
|
||||
'Automatically choose the expert role that best matches the question',
|
||||
enabled: 'Enable Smart Subagent routing',
|
||||
help:
|
||||
'Off by default. When no expert or team is explicitly selected, GoodBuddy chooses one expert. The Subagent uses the default text model and enabled tools.'
|
||||
'Off by default. When no expert or team is explicitly selected, GoodBuddy chooses one expert. Its prompt is applied as a role prompt on the conversation\'s current Runtime.'
|
||||
}
|
||||
},
|
||||
appearance: {
|
||||
|
||||
@@ -802,7 +802,7 @@ export const settings = {
|
||||
description: '按问题内容自动选择最匹配的专家角色',
|
||||
enabled: '启用 Subagent 智能路由',
|
||||
help:
|
||||
'默认关闭。未显式选择专家或团队时,自动选择 1 位专家;子专家使用默认文本模型和已启用工具。'
|
||||
'默认关闭。未显式选择专家或团队时,自动选择 1 位专家;专家提示词作为角色提示词,由当前会话的 Runtime 直接执行。'
|
||||
}
|
||||
},
|
||||
appearance: {
|
||||
|
||||
Reference in New Issue
Block a user