You get one free question answered without a login. You can dismiss the login prompt which appears after submitting your question and use copy/paste with keyboard shortcuts or browser debug tools to retrieve the full answer (including the part hidden with CSS rules). Either use XPath of '//div[@id="answer_text_id"]//text()' or copy the text/eventstream response for the API call to https://yiyan.baidu.com/eb/chat/conversation/v2 once the SSE session has closed.[1] Clear cookies and site data and you'll get a new session and can keep going.
It can take about 20 seconds to return all tokens so it appears likely the login prompt is there to minimise resource consumption.
It can take about 20 seconds to return all tokens so it appears likely the login prompt is there to minimise resource consumption.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...