mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 05:42:51 +00:00
refactor: default embedding model edit workspace_id
This commit is contained in:
parent
87a141f5cc
commit
66ab7fdf34
|
|
@ -22,7 +22,7 @@ def save_default_embedding_model(apps, schema_editor):
|
|||
model_type="EMBEDDING", model_name=model_name, user_id='f0dd8f71-e4ee-11ee-8c84-a8a1595801ab',
|
||||
provider='model_local_provider',
|
||||
credential=rsa_long_encrypt(model_credential_str), meta={},
|
||||
workspace_id='None')
|
||||
workspace_id='default')
|
||||
model.save()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue