feat(config): add option to hide global AI agent entry point

This commit is contained in:
jxxghp
2026-06-19 09:46:39 +08:00
parent e8f6e8647b
commit 60c7268301
2 changed files with 3 additions and 0 deletions

View File

@@ -688,6 +688,7 @@ async def get_user_global_setting(_: User = Depends(get_current_active_user_asyn
info = settings.model_dump(
include={
"AI_AGENT_ENABLE",
"AI_AGENT_HIDE_ENTRY",
"LLM_SUPPORT_AUDIO_INPUT",
"LLM_SUPPORT_AUDIO_OUTPUT",
"RECOGNIZE_SOURCE",