v2 Phase 4: relabel Session "messages" -> "requests"
The count is assistant API turns (each tool-use round is one), not user chat messages — "messages" misled into reading it as conversation count / all-time. "requests" reads correctly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -719,7 +719,7 @@ static void init_session_screen(lv_obj_t* scr) {
|
||||
lv_obj_align(sess_tokens_lbl, LV_ALIGN_TOP_MID, 0, L.content_y + 165);
|
||||
|
||||
sess_msgs_lbl = lv_label_create(session_container);
|
||||
lv_label_set_text(sess_msgs_lbl, "\xE2\x80\x94 messages");
|
||||
lv_label_set_text(sess_msgs_lbl, "\xE2\x80\x94 requests");
|
||||
lv_obj_set_style_text_font(sess_msgs_lbl, &font_styrene_20, 0);
|
||||
lv_obj_set_style_text_color(sess_msgs_lbl, COL_DIM, 0);
|
||||
lv_obj_align(sess_msgs_lbl, LV_ALIGN_TOP_MID, 0, L.content_y + 215);
|
||||
@@ -805,7 +805,7 @@ void ui_update(const UsageData* data) {
|
||||
data->cost_cents_today / 100, data->cost_cents_today % 100);
|
||||
format_tokens(data->tokens_today, buf, sizeof(buf));
|
||||
lv_label_set_text_fmt(sess_tokens_lbl, "%s tokens", buf);
|
||||
lv_label_set_text_fmt(sess_msgs_lbl, "%d messages", data->messages_today);
|
||||
lv_label_set_text_fmt(sess_msgs_lbl, "%d requests", data->messages_today);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user