Skip to content

examples: use bashtool extras in adk bash chat - #762

Merged
ewhauser merged 2 commits into
mainfrom
ewhauser/adk-bash-chat-bashtool-extras
Mar 28, 2026
Merged

ewhauser merged 2 commits into
mainfrom
ewhauser/adk-bash-chat-bashtool-extras

Conversation

@ewhauser

Copy link
Copy Markdown
Owner

Summary

  • switch examples/adk-bash-chat to the shared contrib/bashtool request, response, schema, and prompt surfaces
  • run the persistent sandbox with contrib/extras so the chat can use awk, jq, sqlite3, and the rest of the stable extras bundle
  • update the example tests and README to cover and document the new tool contract and command availability

Why

The example was still exposing its own bespoke bash tool shape and only registering sqlite3, which meant the chat could advertise or need shell tooling that was not actually available in the sandbox. Moving it onto bashtool keeps the public contract aligned with the shared helper module, and using the extras registry makes commands like awk and jq available in the persistent session.

Impact

The ADK bash chat example now accepts the standard commands field with script as a compatibility alias, reports results in the bashtool response shape, and can rely on extras commands during multi-turn investigations.

Validation

  • make lint
  • go test ./adk-bash-chat

@ewhauser
ewhauser marked this pull request as ready for review March 28, 2026 16:23
@ewhauser ewhauser changed the title [codex] examples: use bashtool extras in adk bash chat examples: use bashtool extras in adk bash chat Mar 28, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4048c23a45

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread examples/adk-bash-chat/bash_tool.go Resolved
@ewhauser
ewhauser merged commit fa839ee into main Mar 28, 2026
16 checks passed
@ewhauser
ewhauser deleted the ewhauser/adk-bash-chat-bashtool-extras branch March 28, 2026 16:36
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.

1 participant