Merge pull request '@senior: model name in comment' (#93) from ai/issue-92 into main
ci / lint (push) Successful in 11s
ci / lint (push) Successful in 11s
Reviewed-on: #93
This commit was merged in pull request #93.
This commit is contained in:
@@ -50,7 +50,7 @@ echo "usage: in=$IN_TOTAL out=$OUT cost=$COSTF (fresh=$INP cache_r=$CR cache_w=$
|
||||
# and the full token/cost breakdown.
|
||||
{
|
||||
printf '\n\n<details>\n<summary>details</summary>\n\n'
|
||||
printf '🔧 %s tool calls · in %s · out %s tokens · %s\n\n' "$n" "$IN_TOTAL" "$OUT" "$COSTF"
|
||||
printf '🔧 %s tool calls · in %s · out %s tokens · %s · model %s\n\n' "$n" "$IN_TOTAL" "$OUT" "$COSTF" "${MODEL:-?}"
|
||||
if [ "$n" -gt 0 ]; then cat /tmp/tools.md; else printf '_(no tool calls — text-only reply)_\n'; fi
|
||||
printf '\n\n<sub>tokens — input %s (fresh %s · cache %sw / %sr) · output %s · reasoning %s · **%s**</sub>\n</details>' \
|
||||
"$IN_TOTAL" "$INP" "$CW" "$CR" "$OUT" "$RE" "$COSTF"
|
||||
|
||||
Reference in New Issue
Block a user