Agent Zero AI framework
Show LiteLLM and secrets settings by default
Alessandro9be846129f45
diff --git a/webui/components/settings/external/litellm.html b/webui/components/settings/external/litellm.htmlindex 747cb3ca9..31c1b875d 100644--- a/webui/components/settings/external/litellm.html+++ b/webui/components/settings/external/litellm.html@@ -9,29 +9,19 @@<div><div class="section-title">LiteLLM Global Settings</div><div class="section-description">- Provider-wide LiteLLM overrides. Leave this closed unless every model call needs the same extra parameter.+ Provider-wide LiteLLM overrides. These values apply to all LiteLLM calls unless a model overrides them.</div>- <div class="settings-advanced-section" x-data="{ advOpen: false }">- <button type="button" class="settings-advanced-toggle" @click="advOpen = !advOpen">- <x-icon class="settings-advanced-toggle-icon"- :style="advOpen ? 'transform:rotate(90deg)' : ''" name="chevron_right"></x-icon>- <span>Advanced Settings</span>- </button>-- <div class="settings-advanced-body" x-show="advOpen" x-transition.opacity>- <div class="field field-full">- <div class="field-label">- <div class="field-title">Global LiteLLM parameters</div>- <div class="field-description">- One <code>KEY=VALUE</code> pair per line, for example <code>stream_timeout=30</code>. These values apply to all LiteLLM calls unless a model overrides them.- </div>- </div>- <div class="field-control">- <textarea style="height: 12em" x-model="settings.litellm_global_kwargs"></textarea>- </div>+ <div class="field field-full">+ <div class="field-label">+ <div class="field-title">Global LiteLLM parameters</div>+ <div class="field-description">+ One <code>KEY=VALUE</code> pair per line, for example <code>stream_timeout=30</code>.</div></div>+ <div class="field-control">+ <textarea style="height: 12em" x-model="settings.litellm_global_kwargs"></textarea>+ </div></div></div></template>diff --git a/webui/components/settings/external/secrets.html b/webui/components/settings/external/secrets.htmlindex 8e6da805d..b3d25ccbb 100644--- a/webui/components/settings/external/secrets.html+++ b/webui/components/settings/external/secrets.html@@ -11,39 +11,28 @@<div class="section-description">Keep credentials out of prompts and logs while still letting tools receive them when needed.</div>-- <div class="settings-advanced-section" x-data="{ advOpen: false }">- <button type="button" class="settings-advanced-toggle" @click="advOpen = !advOpen">- <x-icon class="settings-advanced-toggle-icon"- :style="advOpen ? 'transform:rotate(90deg)' : ''" name="chevron_right"></x-icon>- <span>Advanced Settings</span>- </button>-- <div class="settings-advanced-body" x-show="advOpen" x-transition.opacity>- <div class="field field-full">- <div class="field-label">- <div class="field-title">Variables</div>- <div class="field-description">- Non-sensitive <code>.env</code> values the agent may see, such as service hosts or usernames. See <a href="javascript:openModal('settings/secrets/example-vars.html')">example</a>.- </div>- </div>- <div class="field-control">- <textarea style="height: 16em" x-model="settings.variables"></textarea>- </div>+ <div class="field field-full">+ <div class="field-label">+ <div class="field-title">Variables</div>+ <div class="field-description">+ Non-sensitive <code>.env</code> values the agent may see, such as service hosts or usernames. See <a href="javascript:openModal('settings/secrets/example-vars.html')">example</a>.</div>+ </div>+ <div class="field-control">+ <textarea style="height: 16em" x-model="settings.variables"></textarea>+ </div>+ </div>- <div class="field field-full">- <div class="field-label">- <div class="field-title">Secrets</div>- <div class="field-description">- Sensitive <code>.env</code> values that are masked from the agent, chat history, and logs. Values shorter than 4 characters are not masked. See <a href="javascript:openModal('settings/secrets/example-secrets.html')">example</a>.- </div>- </div>- <div class="field-control">- <textarea style="height: 16em" x-model="settings.secrets"></textarea>- </div>+ <div class="field field-full">+ <div class="field-label">+ <div class="field-title">Secrets</div>+ <div class="field-description">+ Sensitive <code>.env</code> values that are masked from the agent, chat history, and logs. Values shorter than 4 characters are not masked. See <a href="javascript:openModal('settings/secrets/example-secrets.html')">example</a>.</div></div>+ <div class="field-control">+ <textarea style="height: 16em" x-model="settings.secrets"></textarea>+ </div></div></div></template>