From 67ea1aef0dafb9dc6f82e009cc1ecc613f71e520 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Fri, 19 Dec 2025 11:06:22 +0300 Subject: Feat: two agent types; WebAgentB impl --- props_table.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'props_table.go') diff --git a/props_table.go b/props_table.go index 774ea32..ae225d8 100644 --- a/props_table.go +++ b/props_table.go @@ -161,6 +161,7 @@ func makePropsTable(props map[string]float32) *tview.Table { // Ensure chatBody.Model is in the new list; if not, set to first available model if len(newModelList) > 0 && !slices.Contains(newModelList, chatBody.Model) { chatBody.Model = newModelList[0] + cfg.CurrentModel = chatBody.Model // Update the displayed cell text - need to find model row // Search for model row by label for r := 0; r < table.GetRowCount(); r++ { @@ -179,6 +180,7 @@ func makePropsTable(props map[string]float32) *tview.Table { modelList := getModelListForAPI(cfg.CurrentAPI) addListPopupRow("Select a model", modelList, chatBody.Model, func(option string) { chatBody.Model = option + cfg.CurrentModel = chatBody.Model }) // Role selection dropdown addListPopupRow("Write next message as", listRolesWithUser(), cfg.WriteNextMsgAs, func(option string) { -- cgit v1.2.3