Skip to content

Commit acb9a80

Browse files
averikitschYuan325
andauthored
feat(source/dataplex)!: restructure prebuilt toolsets (#2640)
## Description > Should include a concise description of the changes (bug or feature), it's > impact, along with a summary of the solution ## PR Checklist > Thank you for opening a Pull Request! Before submitting your PR, there are a > few things you can do to make sure it goes smoothly: - [ ] Make sure you reviewed [CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md) - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) - [ ] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here> --------- Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
1 parent 5196c6a commit acb9a80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/internal/tools_file_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,8 +1788,8 @@ func TestPrebuiltTools(t *testing.T) {
17881788
name: "dataplex prebuilt tools",
17891789
in: dataplex_config,
17901790
wantToolset: server.ToolsetConfigs{
1791-
"dataplex_tools": tools.ToolsetConfig{
1792-
Name: "dataplex_tools",
1791+
"discovery": tools.ToolsetConfig{
1792+
Name: "discovery",
17931793
ToolNames: []string{"search_entries", "lookup_entry", "search_aspect_types"},
17941794
},
17951795
},

internal/prebuiltconfigs/tools/dataplex.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ tools:
3232
description: Use this tool to find aspect types relevant to the query.
3333

3434
toolsets:
35-
dataplex_tools:
35+
discovery:
3636
- search_entries
3737
- lookup_entry
3838
- search_aspect_types

0 commit comments

Comments
 (0)