Route to /chat/:id when clicking suggestions (#491)
This commit is contained in:
parent
fe3d58fc65
commit
5d6d0ed664
1 changed files with 2 additions and 0 deletions
|
|
@ -209,6 +209,8 @@ export function MultimodalInput({
|
|||
<Button
|
||||
variant="ghost"
|
||||
onClick={async () => {
|
||||
window.history.replaceState({}, '', `/chat/${chatId}`);
|
||||
|
||||
append({
|
||||
role: 'user',
|
||||
content: suggestedAction.action,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue