From 8569921c17b4f4f2ed386142368b50e5d96973b5 Mon Sep 17 00:00:00 2001 From: skadel Date: Sun, 26 Jul 2026 21:40:10 +0200 Subject: [PATCH] fix: preserve Vertex formatter compatibility --- back/build_query/query_chain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/back/build_query/query_chain.py b/back/build_query/query_chain.py index 56ed821..c29f44e 100644 --- a/back/build_query/query_chain.py +++ b/back/build_query/query_chain.py @@ -393,6 +393,8 @@ async def _handle_other(state: QueryState): result = await chain.ainvoke({"descriptions": descriptions}) except Exception as exc: if is_vertex_permission_error(exc): + # Keep this single-argument call compatible with integrations that + # replace the formatter (including existing API/UI tests). error_msg = format_vertex_permission_message(get_llm_model()) return { "messages": [