From 2ed796a2271f2a8f470bfbab06ffafe1d9bbda9c Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 8 Jan 2025 23:16:03 -0500 Subject: [PATCH] Add 'llm_api_configured' key to config serializer --- lib/galaxy/managers/configuration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/galaxy/managers/configuration.py b/lib/galaxy/managers/configuration.py index d0ccfa8d53c2..f30118d2fbf3 100644 --- a/lib/galaxy/managers/configuration.py +++ b/lib/galaxy/managers/configuration.py @@ -229,6 +229,7 @@ def _config_is_truthy(item, key, **context): "fixed_delegated_auth": _defaults_to(False), "help_forum_api_url": _use_config, "enable_help_forum_tool_panel_integration": _use_config, + "llm_api_configured": lambda item, key, **context: bool(item.openai_api_key), }