Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions back/build_query/query_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Loading