diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-12-19 11:06:22 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-12-19 11:06:22 +0300 |
| commit | 67ea1aef0dafb9dc6f82e009cc1ecc613f71e520 (patch) | |
| tree | 331743d4edc223508e96055c0ec5753901273b57 /props_table.go | |
| parent | 5f852418d8d12868df83a9591b15e0846971fff9 (diff) | |
Feat: two agent types; WebAgentB impl
Diffstat (limited to 'props_table.go')
| -rw-r--r-- | props_table.go | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |
