"src/vscode:/vscode.git/clone" did not exist on "693cf20fad2fdd6649c962c66d570a2f78d3d8ca"
Commit 6dbd59c7 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: migration

parent 110ed674
...@@ -60,7 +60,7 @@ def migrate_modelfile_to_model(migrator: Migrator, database: pw.Database): ...@@ -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},
} }
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment