Skip to content

Add cache-safe deferred tool loading#3658

Merged
rumpl merged 1 commit into
docker:mainfrom
rumpl:deferred-tools
Jul 15, 2026
Merged

Add cache-safe deferred tool loading#3658
rumpl merged 1 commit into
docker:mainfrom
rumpl:deferred-tools

Conversation

@rumpl

@rumpl rumpl commented Jul 15, 2026

Copy link
Copy Markdown
Member

Track deferred tool load points in the shared runtime and translate them into native OpenAI tool-search and Anthropic tool-reference messages.

Before and after screenshots show a run with a slightly changed examples/deferred.yaml agent run (I had to add more content to its system prompt in order for the caching to kick in).
My messages were:

Hello

enable the shell tool please, query with only "shell"

now please run ls -l

Before:

Screenshot 2026-07-15 at 14 22 04

After:

Screenshot 2026-07-15 at 15 15 37 Screenshot 2026-07-15 at 15 11 49

Track deferred tool load points in the shared runtime and translate them
into native OpenAI tool-search and Anthropic tool-reference messages.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl rumpl requested a review from a team as a code owner July 15, 2026 13:31
@rumpl rumpl merged commit 652f0b1 into docker:main Jul 15, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants