-
Notifications
You must be signed in to change notification settings - Fork 711
feat(adk): support skill #661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
274bdde to
feedc21
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #661 +/- ##
==========================================
+ Coverage 80.31% 80.36% +0.04%
==========================================
Files 124 126 +2
Lines 11904 12060 +156
==========================================
+ Hits 9561 9692 +131
- Misses 1613 1621 +8
- Partials 730 747 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
hi team!thanks for ur works. When is this skills feature roughly expected to be merged? This is a promising feature, and we look forward to its integration. |
it maybe released on the end of this week |
2dec249 to
ca307c3
Compare
| </skills_instructions> | ||
|
|
||
| ` | ||
| skillToolDescriptionTemplate = ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| How to invoke: | ||
| - Use this tool with the skill name only (no arguments) | ||
| - Examples: | ||
| - ` + "`" + `skill: "pdf"` + "`" + ` - invoke the pdf skill |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这地方把 ` 改成 ' 是不是也没啥影响, 这样 Prompt 更易维护一些
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
' 里套 " 感觉不好吧
| return "", fmt.Errorf("failed to get skill: %w", err) | ||
| } | ||
|
|
||
| err = validateSkillName(skill.Name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
validateSkillName 和 validateSkillContent 不应该在 skill 工具调用时校验,应该在构建时
ca307c3 to
52ba06d
Compare


What type of PR is this?
Check the PR title.
(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: