raw params in model switcher

This commit is contained in:
firestar5683
2026-03-24 19:57:49 -05:00
parent 1b93b4f777
commit 1a9e5cf364
+2 -1
View File
@@ -2951,7 +2951,8 @@ def setup(app):
try:
from openpilot.frogpilot.assets.model_manager import ModelManager
manager = ModelManager(params, params_memory)
# ModelManager expects raw Params semantics (encoding-less get -> str, not legacy bytes).
manager = ModelManager(_params_raw, _params_memory_raw)
manager.update_models(False)
except Exception as exception:
return jsonify({"error": f"Failed to refresh model manifest: {exception}"}), 500