Repository navigation
Conversation
…n the aigw run page Signed-off-by: Denis Ćorić <denis85@gmail.com>
✅ Deploy Preview for theagentrouter ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Denis Ćorić <denis85@gmail.com>
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
The
aigw runpage has three problems that make its "Modify an Example Configuration" section fail for a reader who follows it:{vars.aigwGitRef}is never substituted and the rendered URL contains the placeholder literally. This change renders the command withCodeBlockand_vars.json, the same way the provider pages under getting-started do, and drops therefs/heads/segment so the reference works for both branch names and tags.@@ -88,7 +88,7 @@, but the model matcher inexamples/aigw/ollama.yamlis now at line 138. The hunk headers now say@@ -135,7 +135,7 @@.aigw runalso auto-configures fromANTHROPIC_API_KEYandANTHROPIC_BASE_URL(internal/autoconfig/anthropic.go), and the CLI help already namesANTHROPIC_API_KEY. The section now has an Anthropic table and states the precedence fromcmd/aigw/config.go: OpenAI or Azure OpenAI wins when set together with Anthropic, and Azure wins over OpenAI.The versioned copies of this page under
site/versioned_docshave the same placeholder problem. They are left untouched here so this change stays small; happy to follow up on them if wanted.Related Issues/PRs (if applicable)
Fixes #2876
Special notes for reviewers (if applicable)
Docs only, no code change. The environment-variable section was checked against
cmd/aigw/config.goandinternal/autoconfig/anthropic.go, and the hunk headers against the currentexamples/aigw/ollama.yaml.