| 1 | <html> |
| 2 | <head> |
| 3 | <title>Context Doctor Settings</title> |
| 4 | </head> |
| 5 | <body> |
| 6 | <div x-data> |
| 7 | <template x-if="config"> |
| 8 | <div> |
| 9 | <div class="section-title">Context Doctor</div> |
| 10 | <div class="section"> |
| 11 | <div class="section-title">Debug</div> |
| 12 | <div class="field"> |
| 13 | <div class="field-label"> |
| 14 | <div class="field-title">Update log content</div> |
| 15 | <div class="field-description"> |
| 16 | Replace the View Details content shown in the WebUI log with repaired JSON instead of model response. |
| 17 | </div> |
| 18 | </div> |
| 19 | <div class="field-control"> |
| 20 | <label class="toggle"> |
| 21 | <input type="checkbox" x-model="config.update_log" /> |
| 22 | <span class="toggler"></span> |
| 23 | </label> |
| 24 | </div> |
| 25 | </div> |
| 26 | <div class="field"> |
| 27 | <div class="field-label"> |
| 28 | <div class="field-title">Suppress XML output</div> |
| 29 | <div class="field-description"> |
| 30 | Replace malformed XML-like output without JSON object in cases where model uses native XML tool calls. |
| 31 | </div> |
| 32 | </div> |
| 33 | <div class="field-control"> |
| 34 | <label class="toggle"> |
| 35 | <input type="checkbox" x-model="config.suppress_xml" /> |
| 36 | <span class="toggler"></span> |
| 37 | </label> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | </div> |
| 42 | </template> |
| 43 | </div> |
| 44 | </body> |
| 45 | </html> |