feat: integrate prompt and promptset configs#1646
Merged
Merged
Conversation
Contributor
Yuan325
requested changes
Oct 23, 2025
Contributor
Yuan325
approved these changes
Oct 27, 2025
Yuan325
left a comment
Contributor
There was a problem hiding this comment.
Please resolve the feedbacks before merging.
(1) Concatenate the test functions (add a new test case under existing test)
(2) update info logs in server.go
Contributor
…ch (#1644) ## Description --- This PR moves the deployement of the PR Previews to the newly created versioned-gh-pages branch which hosts the versioned doc site. ## 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: - [x] 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 - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involve a breaking change 🛠️ Fixes #<issue_number_goes_here>
🤖 I have created a release *beep* *boop* --- ## [0.18.0](v0.17.0...v0.18.0) (2025-10-23) ### Features * Support `allowedValues`, `escape`, `minValue` and `maxValue` for parameters ([#1770](#1770)) ([eaf7740](eaf7740)) * **tools/looker:** Tools to allow the agent to retrieve, create, modify, and delete LookML project files. ([#1673](#1673)) ([089081f](089081f)) ### Bug Fixes * **sources/mysql:** Escape mysql user agent ([#1707](#1707)) ([eeb694c](eeb694c)) * **sources/mysql:** Escape program_name for MySQL ([#1717](#1717)) ([02f7f8a](02f7f8a)) * **tools/http:** Allow 2xx status code on tool invocation ([#1761](#1761)) ([a06d0d8](a06d0d8)) * **tools/http:** Omit optional nil query parameters ([#1762](#1762)) ([bd16ba3](bd16ba3)) * **tools/looker:** Looker file content calls should not use url.QueryEscape ([#1758](#1758)) ([336de1b](336de1b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
…1778) This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/redis/go-redis/v9](https://redirect.github.com/redis/go-redis) | `v9.14.1` -> `v9.16.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>redis/go-redis (github.com/redis/go-redis/v9)</summary> ### [`v9.16.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.16.0): 9.16.0 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.15.1...v9.16.0) #### 🚀 Highlights ##### Maintenance Notifications Support This release introduces comprehensive support for Redis maintenance notifications, enabling applications to handle server maintenance events gracefully. The new `maintnotifications` package provides: - **RESP3 Push Notifications**: Full support for Redis RESP3 protocol push notifications - **Connection Handoff**: Automatic connection migration during server maintenance with configurable retry policies and circuit breakers - **Graceful Degradation**: Configurable timeout relaxation during maintenance windows to prevent false failures - **Event-Driven Architecture**: Background workers with on-demand scaling for efficient handoff processing For detailed usage examples and configuration options, see the [maintenance notifications documentation](https://redirect.github.com/redis/go-redis/tree/master/maintnotifications). #### ✨ New Features - **Trace Filtering**: Add support for filtering traces for specific commands, including pipeline operations and dial operations ([#​3519](https://redirect.github.com/redis/go-redis/pull/3519), [#​3550](https://redirect.github.com/redis/go-redis/pull/3550)) - New `TraceCmdFilter` option to selectively trace commands - Reduces overhead by excluding high-frequency or low-value commands from traces #### 🐛 Bug Fixes - **Pipeline Error Handling**: Fix issue where pipeline repeatedly sets the same error ([#​3525](https://redirect.github.com/redis/go-redis/pull/3525)) - **Connection Pool**: Ensure re-authentication does not interfere with connection handoff operations ([#​3547](https://redirect.github.com/redis/go-redis/pull/3547)) #### 🔧 Improvements - **Hash Commands**: Update hash command implementations ([#​3523](https://redirect.github.com/redis/go-redis/pull/3523)) - **OpenTelemetry**: Use `metric.WithAttributeSet` to avoid unnecessary attribute copying in redisotel ([#​3552](https://redirect.github.com/redis/go-redis/pull/3552)) #### 📚 Documentation - **Cluster Client**: Add explanation for why `MaxRetries` is disabled for `ClusterClient` ([#​3551](https://redirect.github.com/redis/go-redis/pull/3551)) #### 🧪 Testing & Infrastructure - **E2E Testing**: Upgrade E2E testing framework with improved reliability and coverage ([#​3541](https://redirect.github.com/redis/go-redis/pull/3541)) - **Release Process**: Improved resiliency of the release process ([#​3530](https://redirect.github.com/redis/go-redis/pull/3530)) #### 📦 Dependencies - Bump `rojopolis/spellcheck-github-actions` from 0.51.0 to 0.52.0 ([#​3520](https://redirect.github.com/redis/go-redis/pull/3520)) - Bump `github/codeql-action` from 3 to 4 ([#​3544](https://redirect.github.com/redis/go-redis/pull/3544)) #### 👥 Contributors We'd like to thank all the contributors who worked on this release! [@​ndyakov](https://redirect.github.com/ndyakov), [@​htemelski-redis](https://redirect.github.com/htemelski-redis), [@​Sovietaced](https://redirect.github.com/Sovietaced), [@​Udhayarajan](https://redirect.github.com/Udhayarajan), [@​boekkooi-impossiblecloud](https://redirect.github.com/boekkooi-impossiblecloud), [@​Pika-Gopher](https://redirect.github.com/Pika-Gopher), [@​cxljs](https://redirect.github.com/cxljs), [@​huiyifyj](https://redirect.github.com/huiyifyj), [@​omid-h70](https://redirect.github.com/omid-h70) *** **Full Changelog**: <redis/go-redis@v9.14.0...v9.16.0> ### [`v9.15.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.15.1): Retract v9.15.0 and v9.15.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
… tool Built as a thin wrapper over the official Google Cloud Dataproc Go client library, with support for filtering and pagination.
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [llama-index](https://redirect.github.com/run-llama/llama_index) | `==0.14.3` -> `==0.14.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>run-llama/llama_index (llama-index)</summary> ### [`v0.14.4`](https://redirect.github.com/run-llama/llama_index/blob/HEAD/CHANGELOG.md#2025-10-03) [Compare Source](https://redirect.github.com/run-llama/llama_index/compare/v0.14.3...v0.14.4) ##### llama-index-core \[0.14.4] - fix pre-release installs ([#​20010](https://redirect.github.com/run-llama/llama_index/pull/20010)) ##### llama-index-embeddings-anyscale \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-embeddings-baseten \[0.1.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-embeddings-fireworks \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-embeddings-opea \[0.2.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-embeddings-text-embeddings-inference \[0.4.2] - Fix authorization header setup logic in text embeddings inference ([#​19979](https://redirect.github.com/run-llama/llama_index/pull/19979)) ##### llama-index-llms-anthropic \[0.9.3] - feat: add anthropic sonnet 4.5 ([#​19977](https://redirect.github.com/run-llama/llama_index/pull/19977)) ##### llama-index-llms-anyscale \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-azure-openai \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-baseten \[0.1.5] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-bedrock-converse \[0.9.5] - feat: Additional support for Claude Sonnet 4.5 ([#​19980](https://redirect.github.com/run-llama/llama_index/pull/19980)) ##### llama-index-llms-deepinfra \[0.5.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-everlyai \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-fireworks \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-google-genai \[0.6.2] - Fix for ValueError: ChatMessage contains multiple blocks, use 'ChatMe… ([#​19954](https://redirect.github.com/run-llama/llama_index/pull/19954)) ##### llama-index-llms-keywordsai \[1.1.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-localai \[0.5.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-mistralai \[0.8.2] - Update list of MistralAI LLMs ([#​19981](https://redirect.github.com/run-llama/llama_index/pull/19981)) ##### llama-index-llms-monsterapi \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-nvidia \[0.4.4] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-ollama \[0.7.4] - Fix `TypeError: unhashable type: 'dict'` in Ollama stream chat with tools ([#​19938](https://redirect.github.com/run-llama/llama_index/pull/19938)) ##### llama-index-llms-openai \[0.6.1] - feat(OpenAILike): support structured outputs ([#​19967](https://redirect.github.com/run-llama/llama_index/pull/19967)) ##### llama-index-llms-openai-like \[0.5.3] - feat(OpenAILike): support structured outputs ([#​19967](https://redirect.github.com/run-llama/llama_index/pull/19967)) ##### llama-index-llms-openrouter \[0.4.2] - chore(openrouter,anthropic): add py.typed ([#​19966](https://redirect.github.com/run-llama/llama_index/pull/19966)) ##### llama-index-llms-perplexity \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-portkey \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-sarvam \[0.2.1] - fixed Sarvam Integration and Typos (Fixes [#​19931](https://redirect.github.com/run-llama/llama_index/issues/19931)) ([#​19932](https://redirect.github.com/run-llama/llama_index/pull/19932)) ##### llama-index-llms-upstage \[0.6.4] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-llms-yi \[0.4.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-memory-bedrock-agentcore \[0.1.0] - feat: Bedrock AgentCore Memory integration ([#​19953](https://redirect.github.com/run-llama/llama_index/pull/19953)) ##### llama-index-multi-modal-llms-openai \[0.6.2] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-readers-confluence \[0.4.4] - Fix: Respect cloud parameter when fetching child pages in ConfluenceR… ([#​19983](https://redirect.github.com/run-llama/llama_index/pull/19983)) ##### llama-index-readers-service-now \[0.2.2] - Bug Fix :- Not Able to Fetch Page whose latest is empty or null ([#​19916](https://redirect.github.com/run-llama/llama_index/pull/19916)) ##### llama-index-selectors-notdiamond \[0.4.0] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-tools-agentql \[1.2.0] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-tools-playwright \[0.3.1] - chore: fix playwright tests ([#​19946](https://redirect.github.com/run-llama/llama_index/pull/19946)) ##### llama-index-tools-scrapegraph \[0.2.2] - feat: update scrapegraphai ([#​19974](https://redirect.github.com/run-llama/llama_index/pull/19974)) ##### llama-index-vector-stores-chroma \[0.5.3] - docs: fix query method docstring in ChromaVectorStore Fixes [#​19969](https://redirect.github.com/run-llama/llama_index/issues/19969) ([#​19973](https://redirect.github.com/run-llama/llama_index/pull/19973)) ##### llama-index-vector-stores-mongodb \[0.8.1] - fix llm deps for openai ([#​19944](https://redirect.github.com/run-llama/llama_index/pull/19944)) ##### llama-index-vector-stores-postgres \[0.7.0] - fix index creation in postgres vector store ([#​19955](https://redirect.github.com/run-llama/llama_index/pull/19955)) ##### llama-index-vector-stores-solr \[0.1.0] - Add ApacheSolrVectorStore Integration ([#​19933](https://redirect.github.com/run-llama/llama_index/pull/19933)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Harsh Jha <83023263+rapid-killer-9@users.noreply.github.com> Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
…1723) This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/openai/openai-go/v3](https://redirect.github.com/openai/openai-go) | `v3.3.0` -> `v3.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>openai/openai-go (github.com/openai/openai-go/v3)</summary> ### [`v3.6.1`](https://redirect.github.com/openai/openai-go/releases/tag/v3.6.1) [Compare Source](https://redirect.github.com/openai/openai-go/compare/v3.6.0...v3.6.1) #### 3.6.1 (2025-10-20) Full Changelog: [v3.6.0...v3.6.1](https://redirect.github.com/openai/openai-\[go/compare/v3.6.0...v3.6.1]\(https://www.golinks.io/compare/v3.6.0...v3.6.1?trackSource=github\)) ##### Bug Fixes - **api:** fix discriminator propertyName for ResponseFormatJsonSchema ([57b0505](https://redirect.github.com/openai/openai-\[go/commit/57b0505361029563b5fd56fb6085b58e813936cc]\(https://www.golinks.io/commit/57b0505361029563b5fd56fb6085b58e813936cc?trackSource=github\))) ### [`v3.6.0`](https://redirect.github.com/openai/openai-go/blob/HEAD/CHANGELOG.md#360-2025-10-20) [Compare Source](https://redirect.github.com/openai/openai-go/compare/v3.5.0...v3.6.0) Full Changelog: [v3.5.0...v3.6.0](https://redirect.github.com/openai/openai-go/compare/v3.5.0...v3.6.0) ##### Features - **api:** Add responses.input\_tokens.count ([a43f2ce](https://redirect.github.com/openai/openai-go/commit/a43f2cef132d4cbd4a4a3dedf600f2da0a1ea2f5)) ##### Bug Fixes - **api:** internal openapi updates ([7ad9b02](https://redirect.github.com/openai/openai-go/commit/7ad9b02d1e86cb3235c779e4e0f6e2ee226662d3)) ### [`v3.5.0`](https://redirect.github.com/openai/openai-go/releases/tag/v3.5.0) [Compare Source](https://redirect.github.com/openai/openai-go/compare/v3.4.0...v3.5.0) #### 3.5.0 (2025-10-17) Full Changelog: [v3.4.0...v3.5.0](https://redirect.github.com/openai/openai-go/compare/v3.4.0...v3.5.0) ##### Features - **api:** api update ([1aa78dd](https://redirect.github.com/openai/openai-go/commit/1aa78dda7aae7b72ce021250b5357ead8db36f46)) ### [`v3.4.0`](https://redirect.github.com/openai/openai-go/releases/tag/v3.4.0) [Compare Source](https://redirect.github.com/openai/openai-go/compare/v3.3.0...v3.4.0) #### 3.4.0 (2025-10-16) Full Changelog: [v3.3.0...v3.4.0](https://redirect.github.com/openai/openai-go/compare/v3.3.0...v3.4.0) ##### Features - **api:** Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint ([ee32400](https://redirect.github.com/openai/openai-go/commit/ee32400f70d6d16c583978c574806648bdeecd91)) ##### Chores - **api:** internal updates ([74c8031](https://redirect.github.com/openai/openai-go/commit/74c8031304013f5d7c24bd9db93d73da80efba9f)) - **client:** undo more naming changes ([db441bc](https://redirect.github.com/openai/openai-go/commit/db441bcb7fb830743d9489589a3a48ca79d2f80a)) - **client:** undo some naming changes ([a5aa3d6](https://redirect.github.com/openai/openai-go/commit/a5aa3d6e0d6773f838f826bbd68f96b70fef0653)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
00e83e9 to
f59dde7
Compare
Contributor
Contributor
Author
Resolved. |
Contributor
|
🧨 Preview deployments removed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Integrates prompt and promptset configs with cmd and tools file config to allow them in tools.yaml.
PR Checklist
CONTRIBUTING.md
bug/issue
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
!if this involve a breaking change🛠️ One of multiple PRs to support #1040