Summary
OpenCLI autofix repaired this adapter locally, and the retry passed.
Adapter
- Site: doubao
- Command: ask
- OpenCLI version: 1.7.8
Original failure
- Error code: SELECTOR (symptom: received messages were sidebar/UI noise instead of AI responses)
The getDoubaoVisibleTurns function relied on [data-testid="message-list"] and [data-testid="receive_message"] selectors which no longer exist in Doubao's DOM. When these returned empty, the adapter fell back to getDoubaoTranscriptLines which scraped the entire page including sidebar noise like "请仔细甄别下载电脑版".
Local fix summary
Replaced broken selectors with current Doubao DOM structure:
- Message list container:
[class*="message-list-S2Fv2S"] or .container-PvPoAn
- User messages:
[class*="bg-g-send-msg-bubble"]
- Assistant messages:
[class*="bg-g-receive-msg-bubble"]
- Role detection now uses bubble class names instead of
data-foundation-type attributes
- Added
请仔细甄别 and 下载电脑版 to stopLines to filter UI noise
Issue filed by OpenCLI autofix after a verified local repair.
Summary
OpenCLI autofix repaired this adapter locally, and the retry passed.
Adapter
Original failure
The
getDoubaoVisibleTurnsfunction relied on[data-testid="message-list"]and[data-testid="receive_message"]selectors which no longer exist in Doubao's DOM. When these returned empty, the adapter fell back togetDoubaoTranscriptLineswhich scraped the entire page including sidebar noise like "请仔细甄别下载电脑版".Local fix summary
Replaced broken selectors with current Doubao DOM structure:
[class*="message-list-S2Fv2S"]or.container-PvPoAn[class*="bg-g-send-msg-bubble"][class*="bg-g-receive-msg-bubble"]data-foundation-typeattributes请仔细甄别and下载电脑版tostopLinesto filter UI noiseIssue filed by OpenCLI autofix after a verified local repair.