mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 22:35:23 +00:00
fix: migration
This commit is contained in:
parent
110ed67468
commit
6dbd59c7c6
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ def migrate_modelfile_to_model(migrator: Migrator, database: pw.Database):
|
||||||
"ollama": {"modelfile": modelfile.modelfile.get("content")},
|
"ollama": {"modelfile": modelfile.modelfile.get("content")},
|
||||||
"suggestion_prompts": modelfile.modelfile.get("suggestionPrompts"),
|
"suggestion_prompts": modelfile.modelfile.get("suggestionPrompts"),
|
||||||
"categories": modelfile.modelfile.get("categories"),
|
"categories": modelfile.modelfile.get("categories"),
|
||||||
"user": {**modelfile.modelfile.get("user", {}), "community": "true"},
|
"user": {**modelfile.modelfile.get("user", {}), "community": True},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue