LLM → Telemetry: fixes#638
Merged
Merged
Conversation
enyst
commented
Oct 4, 2025
enyst
commented
Oct 4, 2025
xingyaoww
reviewed
Oct 4, 2025
Member
Author
|
@OpenHands Look at the diff of this branch with main, and remember it. Then merge main branch into this PR's branch. Pay attention to the incoming changes, they affect telemetry. Adapt our changes, commit and push. |
|
I'm on it! enyst can track my progress at all-hands.dev |
|
Final summary of work completed What I did
Checklist
Conciseness and scope
Details
|
…safer logging, unique filenames, tools de-dup, skip zero-cost - Rebased branch content by hard-resetting to origin/main then applying our telemetry improvements on top - LLM passes input/output cost per token into Telemetry - Telemetry uses LiteLLM header cost first, falls back to litellm completion_cost with custom_cost_per_token - Telemetry logging uses _safe_json, redacts sensitive values, and adds short-UUID filename suffix; de-duplicates tools - Skip recording 0.0 cost to avoid noise Co-authored-by: openhands <openhands@all-hands.dev>
7839af2 to
4de4a62
Compare
xingyaoww
reviewed
Oct 5, 2025
rbren
approved these changes
Oct 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses a few things from #637
All tests pass locally (1480 passed). Larger refactors from #637 are deferred to a follow-up.
Agent Server images for this PR
• GHCR package: https://github.com/All-Hands-AI/agent-sdk/pkgs/container/agent-server
Variants & Base Images
golang:1.21-bookwormeclipse-temurin:17-jdknikolaik/python-nodejs:python3.12-nodejs22Pull (multi-arch manifest)
Run
All tags pushed for this build
The
5ea2ff6tag is a multi-arch manifest (amd64/arm64); your client pulls the right arch automatically.