Skip to content

Remove unused agent in wasm runtime#3187

Merged
dgageot merged 1 commit into
docker:mainfrom
rumpl:remove-unused
Jun 20, 2026
Merged

Remove unused agent in wasm runtime#3187
dgageot merged 1 commit into
docker:mainfrom
rumpl:remove-unused

Conversation

@rumpl

@rumpl rumpl commented Jun 20, 2026

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl requested a review from a team as a code owner June 20, 2026 13:07

@docker-agent docker-agent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This is a clean, minimal refactor removing a genuinely unused *agent.Agent parameter (a) from the streamCompletion function and its sole call site in streamWithFallback. The parameter was never referenced inside the function body — it did not access any agent methods or fields. All call sites have been updated correctly. No logic errors, resource leaks, or other defects introduced.

@aheritier aheritier added area/runtime Runtime engine, agent loop execution, tool dispatch, loop detection kind/chore Maintenance, deps, CI, tooling (maps to chore: commit prefix) labels Jun 20, 2026
@dgageot dgageot merged commit 873afc2 into docker:main Jun 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/runtime Runtime engine, agent loop execution, tool dispatch, loop detection kind/chore Maintenance, deps, CI, tooling (maps to chore: commit prefix)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants