Skip to content

Commit

Permalink
Add 'llm_api_configured' key to config serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jan 9, 2025
1 parent 97de7f3 commit 2ed796a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy/managers/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}


Expand Down

0 comments on commit 2ed796a

Please sign in to comment.