fix: 🐛 fix model changing bug
This commit is contained in:
parent
c253f0e83b
commit
fd4a4dcf00
1 changed files with 5 additions and 2 deletions
|
|
@ -248,8 +248,11 @@ class GUIProtocolServer(AbstractGUIProtocolServer):
|
|||
prev_model.__class__.__name__
|
||||
== other.__class__.__name__
|
||||
and (
|
||||
not other.name.startswith("gpt")
|
||||
or prev_model.name == other.name
|
||||
other.name is not None
|
||||
and (
|
||||
not other.name.startswith("gpt")
|
||||
or prev_model.name == other.name
|
||||
)
|
||||
)
|
||||
):
|
||||
exists = True
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue