Add automatic agent skill aproval via ENV Flag (#5405)

* add autoapproval env flag

* persist flag
This commit is contained in:
Timothy Carambat
2026-04-10 13:20:47 -07:00
committed by GitHub
parent 159376e2a1
commit 246edc38ce
6 changed files with 63 additions and 2 deletions

View File

@@ -444,4 +444,8 @@ GID='1000'
# Set to "true" to enable. This can reduce token costs by 80% when you have
# many tools/MCP servers enabled.
# AGENT_SKILL_RERANKER_ENABLED="true"
# AGENT_SKILL_RERANKER_TOP_N=15 # (optional) Number of top tools to keep after reranking (default: 15)
# AGENT_SKILL_RERANKER_TOP_N=15 # (optional) Number of top tools to keep after reranking (default: 15)
# (optional) Comma-separated list of skills that are auto-approved.
# This will allow the skill to be invoked without user interaction.
# AGENT_AUTO_APPROVED_SKILLS=create-pdf-file,create-word-file