You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought, maybe this is a difficult problem to solve? Nevertheless, it is inappropriate to expose this ambiguous or unintuitive behavior to users. Sleep should not be needed, or it should be hidden, or it is a bug and some branch judgments are missing.
Code example
generate: async ({ symbol, numOfMonths }) => { console.log("call func", symbol, numOfMonths) // Comment sleep, component exception, no comment, normal rendering after 1 second // await sleep(1000); history.done((messages: ServerMessage[]) => [ ...messages, { role: 'assistant', content: Showing stock information for ${symbol} } ]) return <RenderN/>; }
Description
I thought, maybe this is a difficult problem to solve? Nevertheless, it is inappropriate to expose this ambiguous or unintuitive behavior to users. Sleep should not be needed, or it should be hidden, or it is a bug and some branch judgments are missing.
Code example
generate: async ({ symbol, numOfMonths }) => { console.log("call func", symbol, numOfMonths) // Comment sleep, component exception, no comment, normal rendering after 1 second // await sleep(1000); history.done((messages: ServerMessage[]) => [ ...messages, { role: 'assistant', content:
Showing stock information for ${symbol}} ]) return <RenderN/>; }
this is bad
Additional context
1057105012@qq.com
The text was updated successfully, but these errors were encountered: