#545·morphic

[BUG] Does not immediately redirect to new permalink

Author: robertDouglassCreated May 18, 2025Updated May 30, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Vercel Runtime Logs

  • I have checked the Vercel Runtime Logs for errors (if applicable)

Current Behavior

I believe that the desired behaviour would be to immediately redirect to the new permalink of a new chat. It seems to wait to create the new chat entity until something else happens, eg. the streaming response is starting (or done?)

I propose that it should immediately create and redirect to the new chat before sending the request off to LLM

Expected Behavior

Submitting chat form creates new chat entity and updates the URL to that new entity before starting LLM queries

Steps To Reproduce

See video https://youtu.be/iw_vV87mM-k

Environment

markdown
- OS:
- Browser:

Anything else?

No response