Skip to content

refactor: move callback template to utils#6

Merged
shentongmartin merged 1 commit into
mainfrom
refactor/template
Dec 18, 2024
Merged

refactor: move callback template to utils#6
shentongmartin merged 1 commit into
mainfrom
refactor/template

Conversation

@shentongmartin
Copy link
Copy Markdown
Contributor

@shentongmartin shentongmartin commented Dec 17, 2024

Change-Id: I0296020a9f49565084281d71f79d47df25da5fef

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@github-actions
Copy link
Copy Markdown

go-test-coverage report:

No coverage report available ```

Comment thread utils/template/template.go
Change-Id: I0296020a9f49565084281d71f79d47df25da5fef
@shentongmartin shentongmartin merged commit 95673db into main Dec 18, 2024
@shentongmartin shentongmartin deleted the refactor/template branch December 18, 2024 06:12
@N3kox N3kox requested review from luohq-bytedance and removed request for luohq-bytedance December 18, 2024 06:13
shentongmartin added a commit that referenced this pull request Apr 15, 2026
…leware

- Rename BeforeToolCall type to Checker; pass *adk.ToolContext instead of bare toolName (Thread #1)
- Rename NewMiddleware to New to match codebase convention (Thread #4)
- Improve error messages with tool name, call ID, and args for LLM consumption (Thread #5)
- Replace schema.Pipe with StreamReaderFromArray for stream deny path (Thread #6)
- Add 4 E2E ask→resume tests: approved, denied, re-interrupt non-target, resume with updated input (Thread #7)

Change-Id: If43ac495fa3a5fc1d71a27db9614cb996d4547b5
shentongmartin added a commit that referenced this pull request Apr 15, 2026
…leware

- Rename BeforeToolCall type to Checker; pass *adk.ToolContext instead of bare toolName (Thread #1)
- Rename NewMiddleware to New to match codebase convention (Thread #4)
- Improve error messages with tool name, call ID, and args for LLM consumption (Thread #5)
- Replace schema.Pipe with StreamReaderFromArray for stream deny path (Thread #6)
- Add 4 E2E ask→resume tests: approved, denied, re-interrupt non-target, resume with updated input (Thread #7)

Change-Id: If43ac495fa3a5fc1d71a27db9614cb996d4547b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants