Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Otel and misc fixes#1

Merged
tmaiaroto merged 35 commits into
mainfrom
otel
Jun 12, 2026
Merged

Otel and misc fixes#1
tmaiaroto merged 35 commits into
mainfrom
otel

Conversation

@tmaiaroto

@tmaiaroto tmaiaroto commented Jun 12, 2026

Copy link
Copy Markdown
  • Implemented OpenTelemetry.
  • Moved system_reminder to help prevent confusion and turn ordering issues.
  • Enhanced tool call failure recovery so the session doesn't get stuck.
  • Wrapped thinking in proper <thinking> tags to help distinguish reasoning text from tool instructions.
  • Addressed some message duplication issues.
  • Better handling for tool errors to return human-readable messages and added result messages into the conversation history so the agent isn't blind to the failure and also so it does not get confused.
  • Added a new append tool.
  • Improved context window token tracking and added configurable threshold to the auto-summarization.

Also decided to bring in a goal feature from charmbracelet#2948 but it will need more testing and potential adjustments (part of why OTel was added).

Reviewed all security alerts and upgraded golang.org/x/image package which was an indirect dep.

vadiminshakov and others added 30 commits May 30, 2026 20:47
… usage, and agent loop detection and safeguards
Comment thread internal/agent/tools/append.go Fixed
Comment thread internal/agent/tools/append.go Fixed
Comment thread internal/agent/tools/append.go Fixed
Comment thread internal/agent/tools/append.go Fixed
Comment thread internal/config/atomicwrite.go Dismissed
tmaiaroto and others added 5 commits June 12, 2026 06:33
…ed in path expression'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ed in path expression'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
… was safer, returning errors if an unsafe path (one outside the current working directory) was attempted to be used
… to address indirect vulnerability GO-2026-5032
@tmaiaroto
tmaiaroto merged commit e9a1b62 into main Jun 12, 2026
13 of 20 checks passed
@tmaiaroto
tmaiaroto deleted the otel branch June 12, 2026 16:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants