Repository navigation
fix(core): resolve env.-indirected network_config.base_url #6735
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
Open
valentinyanakiev
wants to merge
28
commits into
maximhq:dev
Choose a base branch
from
valentinyanakiev:fix/base-url-env-indirection
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,999
−681
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fec886f
fix(core): resolve env.-indirected network_config.base_url
valentinyanakiev 2d64d0c
feat(ui): accept env./vault. references for provider base_url
valentinyanakiev 9a62352
fix(core): keep reference-resolved base_url out of redacted configs a…
valentinyanakiev 96d0f48
fix(tests): resolve the local-provider base URLs through env. references
valentinyanakiev 1a9174b
fix(core): strip the whole resolved base_url from LoggableURL output
valentinyanakiev 7a25885
fix(configstore): mark add_ollama_sgl_config_columns non-rollbackable
valentinyanakiev 6bd50ed
fix(schema): restore literal-URL validation for base_url
valentinyanakiev 9c4b1a4
fix(typesafe): carry base_url through SecretVar on the new decisions …
valentinyanakiev ed84f16
fix(core): return only the reference when a URL was not built from ba…
valentinyanakiev 176f535
fix(configstore): back fill a base_url reference even when it resolve…
valentinyanakiev f8ea760
fix(transports): apply the base URL shape check to resolved secret va…
valentinyanakiev 2b3ed36
fix(configstore): read the backfill rows without the AfterFind hook
valentinyanakiev 8883213
fix(core): keep a resolved base_url out of passthrough errors
valentinyanakiev 4aa487f
fix(transports): keep a resolved base_url out of destination-validati…
valentinyanakiev 5575ac8
fix(helm): allow secret references in the chart's base_url schema
valentinyanakiev 5db0bc0
test(helm): pin the chart base_url schema under format assertions
valentinyanakiev b6e6493
fix(transports): keep the reason when redacting a referenced base URL
valentinyanakiev 8a28ab3
docs(configstore): say what the ollama/sgl backfill actually does
valentinyanakiev 6af19f2
fix(core): carry base_url through SecretVar on dev's new call sites
valentinyanakiev b03f87f
fix(tests): resolve dev's new ctx_test base URL through SecretVar
valentinyanakiev 05595b0
fix(core): carry base_url through SecretVar on dev's new call sites
valentinyanakiev 99b0827
fix(transports): redact the scheme of a secret-backed invalid base URL
valentinyanakiev ff55322
test(configstore): run the ollama/sgl backfill migration itself
valentinyanakiev 12611b3
Merge dev and benchmark secret-backed provider base URLs
akshaydeo b3ef29a
Merge dev into fix/base-url-env-indirection
valentinyanakiev a96373a
fix(core): keep a secret-backed base_url out of connection errors
valentinyanakiev 059ec51
fix(ollama,sgl): trim key URLs like network_config.base_url
valentinyanakiev ada352d
Merge dev into fix/base-url-env-indirection
valentinyanakiev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
Script executed:
Repository: maximhq/bifrost
Length of output: 4035
Script executed:
Repository: maximhq/bifrost
Length of output: 42277
Script executed:
Repository: maximhq/bifrost
Length of output: 41327
Script executed:
Repository: maximhq/bifrost
Length of output: 5220
Script executed:
sed -n '3548,3575p' core/providers/utils/utils.goRepository: maximhq/bifrost
Length of output: 1433
Redact resolved hosts from upstream network errors.
DNS failures pass the original error into
NewBifrostUpstreamConnectionError, andErrorField.MarshalJSONserializes that error string. The string can include the resolved hostname.This behavior is pre-existing for literal URLs and becomes reachable for secret-backed URLs in this PR. Apply redaction at a shared boundary that covers both
MakeRequestWithContextandDoStreamingRequest. Do not add separate BytePlus and Gemini fixes. Preserve the configured secret reference instead of exposing the resolved host.