agentop shows commands and it is unclear who their parent is

Aperta
#1,834 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
observability

Direzione di ricerca

Start by tracing how agentop renders command entries and how pressing Enter selects the associated request; compare the Bash error entry with nearby requests 6–8 in the supplied session. Then inspect the proxy's handling of Claude Code auto-mode approval queries and model attribution. Done when the command is linked to the correct request and the display explains its parent and model.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Here is an agentop session display:

 12    14:02:03.96  out   observe   2 plugins           qwen3:14b               200     16.62s    ↑147.6kB ↓1.9kB   31.9k→348         127.0.0.1:11434      
 11    14:01:55.96  out   observe   2 plugins           qwen3.8:27b             200      7.97s   ↑122.1kB ↓13.0kB   59.6k→200         127.0.0.1:11434      
 ┗⚒    14:02:03.93                                      Bash                     ok     21.13s                                                             
 10    14:01:22.05  out   observe   2 plugins           qwen3:14b               200     28.88s    ↑147.4kB ↓2.6kB   31.9k→479         127.0.0.1:11434      
 9     14:00:37.30  out   observe   2 plugins           qwen3.8:27b             200     44.83s    ↑120.2kB ↓8.3kB   52.2k→142         127.0.0.1:11434      
 ┗⚒    14:01:22.13                                      Bash                     ok     33.83s                                                             
 8     13:56:45.61  out   observe   2 plugins           qwen3.8:27b             200      2m16s   ↑84.2kB ↓304.0kB  40.6k→2.5k         127.0.0.1:11434      
 7     13:55:45.58  out   observe   2 plugins           qwen3:14b               499      1m00s           ↑147.0kB                     127.0.0.1:11434      
 6     13:55:25.65  out   observe   2 plugins           qwen3.8:27b             200     19.90s     ↑82.7kB ↓9.4kB   38.5k→148         127.0.0.1:11434      
 ┗⚒    13:55:45.55                                      Bash                  error      1m00s                                                             

I'm concerned about the Bash error, so I press enter on it, and see

REQUEST │ #8 · qwen3.8:27b · 200 · 2m16s · ↑84.2kB ↓304.0kB · 40.6k→2.5k tok                                                                               
  ▾ ━━ REQUEST · 13:56:45.61 · observe inference-parser, github-pat                                                                                        
  {                                                                                                                                                        
    "at": "2026-11-12T13:56:45.616894-05:00",                                                                                                              

This is confusing because

  • On the list, it looked like it was connected to request 6
  • When I pressed enter, it claims to be part of request 8
  • I know from my use of CLAUDE_CODE_AUTO_MODE_MODEL=qwen3:14b that when I am in auto mode it should be using that model to decide if a tool is allowed. And the duration of the error, exactly one minute, is Claude's hard-coded timeout for auto mode LLM query to see if a command is OK. The nearby request 7 uses the expected model.
Lingua principale
Go
Stelle
31
Fork
49
Merge medio
9h 43m
PR unite (30g)
367

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rossoctl/cortex

Tutte le issue di rossoctl/cortex

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.