feat: take initial prompt from URL query parameter#6
feat: take initial prompt from URL query parameter#6Efe-Cal wants to merge 3 commits intoMostlime12195:mainfrom
Conversation
|
@Efe-Cal is attempting to deploy a commit to the Karo Roghzai's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This is very cool! I can't believe I hadn't thunk of this sooner. Though, could make the tiniest change and change the name Also, this is entirely your choice, could you make it so that it doesn't just fill out the input, but submits it too? This way people could effectively use the app as a search engine. Again, much thanks for the PR! I wouldn't have thought of this idea in a million years. |
|
The pleasure is mine! Thank you for building this amazing site.
Maybe then also a model parameter would be useful (to set a desired model before starting the conversation)? |
…et model from URL
Yes! The idea crossed my mind but I didn't want to put too much work on your shoulders. Thank you for offering. |
|
Hi! the model parameter isn't working in the latest commit. I assume it's because model IDs typically have slashes in them (i.e. Just my opinion, but perhaps we could filter the model IDs? Instead of minimax/minimax-m2.5, we could use minimax-minimax-m2.5. This way, when reading the parameter, we turn the first hyphen into a slash (the value |
@Mostlime12195 |
Hi @Mostlime12195 ! I would love it if we could set the initial prompt from a redirect. With this PR, when a user visits the page with an
initialPromptparameter, the chat input is automatically pre-filled with its value.