Repository navigation
feat(config): set the web search key's sandbox variable - #13401
Merged
Merged
Conversation
webSearch.sandboxEnv names the variable a sandbox sees for the search key, compiled to openshell_web_search's sandbox_env, so Hermes's Brave plugin can read BRAVE_SEARCH_API_KEY.
Contributor
This was referenced Oct 18, 2026
cv
added a commit
that referenced
this pull request
Oct 18, 2026
) Closes #13399. Part of #13394. Stacked on #13405. ## Failure The multi-agent travel team existed only as hand-written HCL (#13393). Expressing it in YAML exposed gaps that #13400, #13401, #13402, #13403 and #13405 closed, but there was no YAML version showing that the team now fits. ## Decision `examples/travel-team.yaml` declares the HCL example's six agents: - **Researchers:** a managed Ollama Nemotron Nano, web search with Hermes's key name (`sandboxEnv`), the `web` toolset, at temperature 0.2. - **Scheduler:** a hosted Nemotron Super at temperature 0.3, with the `delegation` toolset. - **Buyer:** - the hosted model at temperature 0; - the booking service as an `api` integration and an MCP server, with only its toolset; - a network grant limiting the service to setup, discovery, `get_quote` and `book_option`. - **All roles:** isolated sandboxes, Hermes's `custom` provider (reasoning off), and the HCL example's token and turn limits. The YAML has no templating, so instructions are written out per agent and shorter than the HCL's, and they describe each hand-off format instead of embedding the JSON Schemas. The HCL README links the YAML version and says when to use each. ## Validation - A new SDK test compiles the example and checks each sandbox against the HCL example's settings: Fabric model provider, temperature, token and turn limits, toolsets, instructions, attached registrations, and the buyer's tool-restricted grant. - `cargo ci` passes locally: 1552 unit tests and 153 lifecycle tests. - Not run against a live gateway; the HCL version ran on a DGX Spark in #13393.
gaveezy
added a commit
that referenced
this pull request
Oct 19, 2026
Bring the branch up to date with 108 v1 commits, including the provider reorganization (#13131), the key-authenticated HTTP API integration (#13403), and the web search sandbox variable (#13401). Resolutions: - config/integrations.rs: keep v1's API integration and web search sandboxEnv. The API key, the web search key, and the resolved web search key are SecretRef, because each holds the credential itself. - config/validation.rs: validate the API integration key as a SecretRef; the credential() helper it called no longer exists. - config/schema/validation.rs: keep v1's sandboxEnv rule for webSearch variants beside the SecretRef and FileRef env rules. - kubernetes/mod.rs: keep v1's boxed ManagedKubernetes; its kubeconfig is a FileRef. - nemoclaw-e2e deployment.rs: take v1's removal of the two inference credential tests. #13373 folded them into the export_observations.rs test, which now builds its reference as a SecretRef. - config_kubernetes.rs: keep the new tests from both sides, and add the API integration key to the reference-kind test as a secret. - Regenerate the JSON Schema and the configuration reference. No other v1 field used Credential; the Fabric model provider and driver configuration changes add none. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Closes #13396. Part of #13394.
Failure
The
openshell_web_searchresource takessandbox_env(#13392), which names the variable a sandbox sees for the search key. Hermes's Brave plugin readsBRAVE_SEARCH_API_KEY, while OpenShell's default isBRAVE_API_KEY. The YAMLwebSearchintegration had no matching field, so a YAML deployment couldn't give Hermes the key under the name it expects.Decision
webSearch.sandboxEnvnames the variable inside the sandbox, compiled tosandbox_env. Without it, nothing changes.Validation
unknown fields are not allowed) and passes after. It checks the target and the compiled resource with and without the field, and that an invalid name is rejected.cargo cipasses locally: 1543 unit tests and 151 lifecycle tests.docs/agents.mddocuments the field.