Stop showing the held tool call as running during a pause
This commit is contained in:
@@ -209,7 +209,7 @@ func (m *Manager) steerMidTurn(ctx context.Context, l *live, s *codex.Session) {
|
||||
|
||||
func (m *Manager) codexAfterTool(l *live) hookcmd.Func {
|
||||
return func(ctx context.Context, input json.RawMessage) (map[string]any, error) {
|
||||
if m.holdWhilePaused(ctx, l) && ctx.Err() == nil {
|
||||
if m.holdWhilePaused(ctx, l, "") && ctx.Err() == nil {
|
||||
m.steerMidTurn(context.WithoutCancel(ctx), l, l.sess.(codexProcess).s)
|
||||
}
|
||||
return map[string]any{}, nil
|
||||
|
||||
Reference in New Issue
Block a user