File size: 1,821 Bytes
7d4338a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
<head>
    <title>Error retry</title>
</head>

<body>
    <div x-data>
        <template x-if="config">
            <div>
                <div class="section-title">Error retry</div>
                <div class="section-description">
                    Settings for retrying failed operations.
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Retries</div>
                        <div class="field-description">
                            Number of retries after an error occurs.
                        </div>
                    </div>
                    <div class="field-control">
                        <input type="number" min="0"
                            x-model.number="config.retries" />
                    </div>
                </div>

                <div class="field">
                    <div class="field-label">
                        <div class="field-title">Try clearing embedded media</div>
                        <div class="field-description">
                            If LiteLLM errors keep happening, the framework can remove embedded media from history and try again to help recover from stuck states.
                        </div>
                    </div>
                    <div class="field-control">
                        <label class="toggle">
                            <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" />
                            <span class="toggler"></span>
                        </label>
                    </div>
                </div>
            </div>
        </template>
    </div>
</body>

</html>