mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-03 04:43:11 +08:00
Add 'llm_api_configured' key to config serializer
This commit is contained in:
@@ -229,6 +229,7 @@ class ConfigSerializer(base.ModelSerializer):
|
||||
"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),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user