fix(api): History rewriting should delete the current message.
fix(UI): Model changes shouldn't submit the form.
This commit is contained in:
parent
6220822c7c
commit
8796009141
3 changed files with 111 additions and 21 deletions
|
|
@ -254,7 +254,7 @@ const ModelSelector = ({
|
|||
{isExpanded && (
|
||||
<div className="pl-6">
|
||||
{provider.models.map((modelOption) => (
|
||||
<button
|
||||
<PopoverButton
|
||||
key={`${modelOption.provider}-${modelOption.model}`}
|
||||
className={cn(
|
||||
'w-full text-left px-4 py-2 text-sm flex items-center',
|
||||
|
|
@ -283,7 +283,7 @@ const ModelSelector = ({
|
|||
Active
|
||||
</div>
|
||||
)}
|
||||
</button>
|
||||
</PopoverButton>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue