miurla / morphic

An AI-powered search engine with a generative UI
https://morphic.sh
Apache License 2.0
4.97k stars 1.16k forks source link

[BUG] Errror when sending follow-ups #241

Closed alexey-kudryavtsev closed 1 week ago

alexey-kudryavtsev commented 1 week ago

Is there an existing issue for this?

Current Behavior

I am using morphic.sh website as a search engine for browser omnibar. Custom search engine string that I use is https://www.morphic.sh/search?q=%s. When I send my query via this CSE, browser correctly renders an answer. But if I need to clarify and submit a follow-up question, I get an error:

Note:

Expected Behavior

The error does not occur. There is no need to manually force-refresh page for follow-ups to work.

Steps To Reproduce

  1. Log into morphic.sh (I used google OAuth if that matters)
  2. In browser's address field put https://www.morphic.sh/search?q=sometext and press enter
  3. Wait for the morphic.sh page to render and the answer to fully load.
  4. Scroll to the bottom of the page, find follow-up input field, write anything and submit
  5. The error page is shown

Environment

- OS: Win11
- Browser: Edge 126.0.2592.61

Anything else?

No response

miurla commented 1 week ago

@alexey-kudryavtsev Thanks to your detailed description of the bug, I was able to reproduce it easily. I've fixed it. If you have any feedback, please feel free to let me know.