feat(server): remove context prefetch & integrate context search (#12956)

fix AI-173
This commit is contained in:
DarkSky
2025-06-27 23:45:49 +08:00
committed by GitHub
parent ad306edcf1
commit e6f91cced6
9 changed files with 88 additions and 70 deletions

View File

@@ -165,9 +165,11 @@ export class ChatPanelUtils {
const actionList = await message.getByTestId('chat-action-list');
return {
message,
content: await message
.locator('chat-content-rich-text editor-host')
.innerText(),
content: (
await message
.locator('chat-content-rich-text editor-host')
.allInnerTexts()
).join(' '),
actions: {
copy: async () => actions.getByTestId('action-copy-button').click(),
retry: async () => actions.getByTestId('action-retry-button').click(),