mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-12 22:43:24 +00:00
Fix working indicator to only show when message is incomplete
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
parent
0fe72864f2
commit
4fa4246c10
1 changed files with 6 additions and 1 deletions
|
|
@ -238,7 +238,12 @@ func (m *messagesCmp) working() string {
|
|||
t := theme.CurrentTheme()
|
||||
baseStyle := styles.BaseStyle()
|
||||
|
||||
task := "Working..."
|
||||
task := ""
|
||||
|
||||
lastMessage := m.app.Messages[len(m.app.Messages)-1]
|
||||
if lastMessage.Metadata.Time.Completed == nil {
|
||||
task = "Working..."
|
||||
}
|
||||
// lastMessage := m.app.Messages[len(m.app.Messages)-1]
|
||||
// if hasToolsWithoutResponse(m.app.Messages) {
|
||||
// task = "Waiting for tool response..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue