fix(claudbg-j9az): populate model from DB in TUI session list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
0940c6f523
commit
7696a5560f
@ -1,10 +1,11 @@
|
|||||||
---
|
---
|
||||||
# claudbg-j9az
|
# claudbg-j9az
|
||||||
title: 'TUI: model column always blank in sessions list'
|
title: 'TUI: model column always blank in sessions list'
|
||||||
status: todo
|
status: in-progress
|
||||||
type: bug
|
type: bug
|
||||||
|
priority: normal
|
||||||
created_at: 2026-04-01T06:10:52Z
|
created_at: 2026-04-01T06:10:52Z
|
||||||
updated_at: 2026-04-01T06:10:52Z
|
updated_at: 2026-04-01T06:12:23Z
|
||||||
---
|
---
|
||||||
|
|
||||||
The Model column in the TUI session-list screen is always empty. Root cause: when building SessionListItem in src/tui/run.rs the model field is set to String::new(), and the DB enrichment query (SELECT session_id, project_path, message_count FROM sessions) does not fetch the model column. The model field does exist in the sessions DB table. Fix: add model to the enrichment SELECT and populate item.model during the enrichment loop.
|
The Model column in the TUI session-list screen is always empty. Root cause: when building SessionListItem in src/tui/run.rs the model field is set to String::new(), and the DB enrichment query (SELECT session_id, project_path, message_count FROM sessions) does not fetch the model column. The model field does exist in the sessions DB table. Fix: add model to the enrichment SELECT and populate item.model during the enrichment loop.
|
||||||
|
|||||||
Loading…
Reference in New Issue