Repository navigation
fix(title): T3 Code handoff and instruction wrappers no longer name sessions - #3
Closed
IEatCodeDaily wants to merge 10000 commits into
Closed
IEatCodeDaily wants to merge 10000 commits into
IEatCodeDaily wants to merge 10000 commits into
Conversation
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.
Problem. T3 Code threads driven by Hermes get titles like
Context handoff (full_thread_summary):. T3 Code sends a delegated or handed-off thread's first prompt asContext handoff (...)+ coverage +\n\nUser message:\n+ the user's text, and wraps requests in<t3_code_instructions>…</t3_code_instructions><user_request>…</user_request>.agent/title_generator.pytitled that verbatim, andacp_adapter/gateway_server.py(_rename_t3_thread) then mirrors the session title onto the T3 thread.Fix.
_summarize_user_message(the one input both the instant title and the model title use) now:<user_request>body when one is present, andContext handoff (header, keeping the text after the lastUser message:marker.The test is in the existing
tests/agent/test_title_generator.pyand covers: wrapper only, handoff only, and handoff inside a wrapper.The companion T3 Code change strips the same header on the T3 side: IEatCodeDaily/t3code#1
Base. Branched from
bf0203a794, the upstreammaincommit the desktop install runs. Forkmainis months behind upstream, so this PR also shows those upstream commits; the change itself is the single last commit (3786a91302, 2 files).Gates. Upstream CI needs Blacksmith runners, which the fork doesn't have, so the full test suite and
ruff check .run on GitHub-hosted runners fromci/title-skip-t3-handoff(this head + one workflow file). Alongside them runs a baseline onbf0203a794, so failures that already exist on the base can be told apart from ones this change causes.Results (run 43136060375):
tests/agent/test_title_generator.pypasses 99/99, including the 3 new cases.tests/plugins/image_gen/test_openrouter_compat_provider.py::...test_catalog_models_are_offered_only_by_openrouter. The baseline run onbf0203a794fails the same way, so it is not caused by this change.ruff check .: one FURB192 finding intests/gateway/test_native_http_auth.py:231. This PR does not touch that file.Model: custom:9router:opus via Hermes (acpRegistry) in T3 Code