Chore: only table switch for auto clean tool calls

This commit is contained in:
Grail Finder
2025-12-26 10:01:49 +03:00
parent 3c6f9b624e
commit c0ec82b579
5 changed files with 11 additions and 2 deletions

View File

@@ -129,6 +129,9 @@ func makePropsTable(props map[string]float32) *tview.Table {
addCheckboxRow("TTS Enabled", cfg.TTS_ENABLED, func(checked bool) {
cfg.TTS_ENABLED = checked
})
addCheckboxRow("Auto clean tool calls from context", cfg.AutoCleanToolCallsFromCtx, func(checked bool) {
cfg.AutoCleanToolCallsFromCtx = checked
})
// Add dropdowns
logLevels := []string{"Debug", "Info", "Warn"}
addListPopupRow("Set log level", logLevels, GetLogLevel(), func(option string) {