Skip to content

[BUG] Does not immediately redirect to new permalink #545

@robertDouglass

Description

@robertDouglass

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

- OS:
- Browser:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions