main
html 40 lines 1.61 KB
Raw
1 <html>
2 <head>
3 <title>LiteLLM</title>
4 </head>
5
6 <body>
7 <div x-data="{ get settings() { return $store.settings.settings } }">
8 <template x-if="settings">
9 <div>
10 <div class="section-title">LiteLLM Global Settings</div>
11 <div class="section-description">
12 Provider-wide LiteLLM overrides. Leave this closed unless every model call needs the same extra parameter.
13 </div>
14
15 <div class="settings-advanced-section" x-data="{ advOpen: false }">
16 <button type="button" class="settings-advanced-toggle" @click="advOpen = !advOpen">
17 <x-icon class="settings-advanced-toggle-icon"
18 :style="advOpen ? 'transform:rotate(90deg)' : ''" name="chevron_right"></x-icon>
19 <span>Advanced Settings</span>
20 </button>
21
22 <div class="settings-advanced-body" x-show="advOpen" x-transition.opacity>
23 <div class="field field-full">
24 <div class="field-label">
25 <div class="field-title">Global LiteLLM parameters</div>
26 <div class="field-description">
27 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.
28 </div>
29 </div>
30 <div class="field-control">
31 <textarea style="height: 12em" x-model="settings.litellm_global_kwargs"></textarea>
32 </div>
33 </div>
34 </div>
35 </div>
36 </div>
37 </template>
38 </div>
39 </body>
40 </html>