From 13f27854fdd66ca40cacd546ab20c04635068969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=BE=AAAkimio?= Date: Sat, 11 Jul 2026 18:15:26 +0800 Subject: [PATCH] fix: clear Rust parse options cache after updating custom identifiers (#6097) --- app/agent/tools/impl/update_custom_identifiers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/agent/tools/impl/update_custom_identifiers.py b/app/agent/tools/impl/update_custom_identifiers.py index bb80b8035..a2fe1b6a6 100644 --- a/app/agent/tools/impl/update_custom_identifiers.py +++ b/app/agent/tools/impl/update_custom_identifiers.py @@ -7,6 +7,7 @@ from pydantic import BaseModel, Field from app.agent.tools.base import MoviePilotTool from app.agent.tools.tags import ToolTag +from app.core.metainfo import clear_rust_parse_options_cache from app.db.systemconfig_oper import SystemConfigOper from app.log import logger from app.schemas.types import SystemConfigKey @@ -85,6 +86,7 @@ class UpdateCustomIdentifiersTool(MoviePilotTool): SystemConfigKey.CustomIdentifiers, value ) if success: + clear_rust_parse_options_cache() return json.dumps( { "success": True,