main
html 48 lines 1.9 KB
Raw
1 <html>
2 <head>
3 <title>Error retry</title>
4 </head>
5
6 <body>
7 <div x-data>
8 <template x-if="config">
9 <div>
10 <div class="section-title">Error retry</div>
11 <div class="section-description">
12 Settings for retrying failed operations.
13 </div>
14
15 <div class="field">
16 <div class="field-label">
17 <div class="field-title">Retries</div>
18 <div class="field-description">
19 Number of retries after an error occurs.
20 </div>
21 </div>
22 <div class="field-control">
23 <input type="number" min="0" step="1"
24 x-init="if (config.retries === undefined || config.retries === null) config.retries = 1"
25 x-model.number="config.retries" />
26 </div>
27 </div>
28
29 <div class="field">
30 <div class="field-label">
31 <div class="field-title">Try clearing embedded media</div>
32 <div class="field-description">
33 If LiteLLM errors keep happening, the framework can remove embedded media from history and try again to help recover from stuck states.
34 </div>
35 </div>
36 <div class="field-control">
37 <label class="toggle">
38 <input type="checkbox" x-model="config.try_clear_embeds" x-init="if (config.try_clear_embeds === undefined || config.try_clear_embeds === null) config.try_clear_embeds = true" />
39 <span class="toggler"></span>
40 </label>
41 </div>
42 </div>
43 </div>
44 </template>
45 </div>
46 </body>
47
48 </html>