diff options
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -961,11 +961,16 @@ func init() { } updateStatusLine() } else { - // For non-OpenRouter APIs, use the old logic - go func() { - fetchLCPModelName() // blocks - updateStatusLine() - }() + if len(LocalModels) > 0 { + currentLocalModelIndex = (currentLocalModelIndex + 1) % len(LocalModels) + chatBody.Model = LocalModels[currentLocalModelIndex] + } + updateStatusLine() + // // For non-OpenRouter APIs, use the old logic + // go func() { + // fetchLCPModelName() // blocks + // updateStatusLine() + // }() } return nil } |
