mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-19 17:24:57 +02:00
ui: keep tool policy migration running when defaults parse fails
A corrupt disabledToolKeys localStorage entry no longer aborts the migration; it falls through with empty defaults so legacy MCP server overrides still get converted. Assisted-by: pi
This commit is contained in:
committed by
GitHub
parent
c8d5a69767
commit
38c4721fbd
@@ -762,7 +762,7 @@ const mcpServerOverridesToToolPolicyMigration: Migration = {
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
return;
|
||||
// fall through with empty defaults so legacy overrides still migrate
|
||||
}
|
||||
|
||||
const db = await getDatabaseService();
|
||||
|
||||
Reference in New Issue
Block a user