From 1a9e5cf3648ad8324684b00c6607f71af6c58713 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 24 Mar 2026 19:57:49 -0500 Subject: [PATCH] raw params in model switcher --- frogpilot/system/the_pond/the_pond.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frogpilot/system/the_pond/the_pond.py b/frogpilot/system/the_pond/the_pond.py index f50a3e86d..dd0aa8794 100644 --- a/frogpilot/system/the_pond/the_pond.py +++ b/frogpilot/system/the_pond/the_pond.py @@ -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