model name in comment #92

Closed
opened 2026-07-06 13:29:54 +02:00 by ffaerber · 11 comments
Owner

if a agent makes a comment it include details like token usage.
please also add the model name

if a agent makes a comment it include details like token usage. please also add the model name
Member

The goal is to include the model name in the agent's comments, alongside existing details like token usage. This will likely require updating the logic that generates the comment footer/metadata.

Plan:

  1. Identify the code responsible for formatting agent comments and token usage.
  2. Add the model name to this metadata.
  3. Verify that the correct model name is passed through to the comment generator.

I'll assign this to @senior as it involves modifying the core agent communication logic.

@ffaerber ready to start building? reply yes to proceed.

details

🔧 0 tool calls · in 9479 · out 118 tokens · subscription

(no tool calls — text-only reply)

tokens — input 9479 (fresh 9479 · cache 0w / 0r) · output 118 · reasoning 0 · subscription

The goal is to include the model name in the agent's comments, alongside existing details like token usage. This will likely require updating the logic that generates the comment footer/metadata. Plan: 1. Identify the code responsible for formatting agent comments and token usage. 2. Add the model name to this metadata. 3. Verify that the correct model name is passed through to the comment generator. I'll assign this to @senior as it involves modifying the core agent communication logic. @ffaerber ready to start building? reply yes to proceed. <details> <summary>details</summary> 🔧 0 tool calls · in 9479 · out 118 tokens · subscription _(no tool calls — text-only reply)_ <sub>tokens — input 9479 (fresh 9479 · cache 0w / 0r) · output 118 · reasoning 0 · **subscription**</sub> </details> <!-- 🤖 agent reply — do not trigger -->
Author
Owner

@pm yes go

@pm yes go
Member

Handing off to @senior.

details

🔧 0 tool calls · in 9679 · out 7 tokens · subscription

(no tool calls — text-only reply)

tokens — input 9679 (fresh 9679 · cache 0w / 0r) · output 7 · reasoning 0 · subscription

Handing off to @senior. <details> <summary>details</summary> 🔧 0 tool calls · in 9679 · out 7 tokens · subscription _(no tool calls — text-only reply)_ <sub>tokens — input 9679 (fresh 9679 · cache 0w / 0r) · output 7 · reasoning 0 · **subscription**</sub> </details> <!-- 🤖 agent reply — do not trigger -->
Member

@senior please proceed with issue #92 per my plan above.

@senior please proceed with issue #92 per my plan above.
Member

🔨 Building on branch ai/issue-92 — I'll open a PR when it's ready.

🔨 Building on branch [`ai/issue-92`](https://git.ffaerber.duckdns.org/gitea/agents/src/branch/ai/issue-92) — I'll open a PR when it's ready. <!-- 🤖 agent reply — do not trigger -->
Member

@pm — PR #93 is ready for review (issue #92).

@pm — PR #93 is ready for review (issue #92).
Member

PR #93 is ready for review. Handing it over to @qa.

details

🔧 0 tool calls · in 9907 · out 25 tokens · subscription

(no tool calls — text-only reply)

tokens — input 9907 (fresh 9907 · cache 0w / 0r) · output 25 · reasoning 0 · subscription

PR #93 is ready for review. Handing it over to @qa. <details> <summary>details</summary> 🔧 0 tool calls · in 9907 · out 25 tokens · subscription _(no tool calls — text-only reply)_ <sub>tokens — input 9907 (fresh 9907 · cache 0w / 0r) · output 25 · reasoning 0 · **subscription**</sub> </details> <!-- 🤖 agent reply — do not trigger -->
Member

@qa please review PR #93 for issue #92 — put your recommendations on the PR, or approve.

@qa please review PR #93 for issue #92 — put your recommendations on the PR, or approve.
Member

Reviewed PR #93 — looks good.

✅ Reviewed PR #93 — looks good. <!-- 🤖 agent reply — do not trigger -->
Member

@pm — I have reviewed and approved PR #93 (issue #92). Over to you.

@pm — I have reviewed and approved PR #93 (issue #92). Over to you.
Member

PR #93 is reviewed and ready to merge, @ffaerber.

details

🔧 0 tool calls · in 10110 · out 17 tokens · subscription

(no tool calls — text-only reply)

tokens — input 10110 (fresh 10110 · cache 0w / 0r) · output 17 · reasoning 0 · subscription

PR #93 is reviewed and ready to merge, @ffaerber. <details> <summary>details</summary> 🔧 0 tool calls · in 10110 · out 17 tokens · subscription _(no tool calls — text-only reply)_ <sub>tokens — input 10110 (fresh 10110 · cache 0w / 0r) · output 17 · reasoning 0 · **subscription**</sub> </details> <!-- 🤖 agent reply — do not trigger -->
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gitea/agents#92