-
Notifications
You must be signed in to change notification settings - Fork 33
feat(local-ai): refine service console and request details #210
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
awsl233777
wants to merge
27
commits into
main
Choose a base branch
from
feat/local-ai-service-provider-console
base: main
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.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ab398be
feat(local-ai): isolate local gateway console
awsl233777 7d9b380
fix(local-ai): tighten provider setup controls
awsl233777 47af59d
style(local-ai): merge gateway summary cards
awsl233777 ffe1677
fix(local-ai): support editing providers
awsl233777 914421a
fix(local-ai): show client base url
awsl233777 4209db3
style(local-ai): improve text contrast
awsl233777 710a4d3
feat(local-ai): refine local service gateway
awsl233777 ee6b13e
fix(local-ai): reject stale loopback upstreams
awsl233777 32158d5
fix(local-ai): reject html upstream chat responses
awsl233777 4dc5796
fix(local-ai): report upstream TLS mismatches
awsl233777 0c13b7a
fix(local-ai): fall back from html upstream routes
awsl233777 8d2d41c
fix(local-ai): retry unversioned streaming routes
awsl233777 46927fa
fix(proxy): block loopback https default port
awsl233777 33bcf90
fix(local-ai): sanitize upstream html errors
awsl233777 3b119a5
test(local-ai): assert upstream auth on fallback
awsl233777 fae24dc
feat(local-ai): copy response details
awsl233777 c804104
fix(local-ai): place response copy beside title
awsl233777 0917133
fix(local-ai): prefer provider auth for upstream
awsl233777 1c895ed
feat(local-ai): copy upstream curl details
awsl233777 89c71ca
fix(local-ai): expose upstream auth request details
awsl233777 d382639
fix(local-ai): keep upstream curl credentials visible
awsl233777 6fa93b3
fix(local-ai): protect provider secrets in bridge UI
awsl233777 4fd79e7
fix(local-ai): show in-flight request logs
awsl233777 e06de53
fix(local-ai): pin request detail and reject stale loopback upstreams
awsl233777 2720f06
fix(local-ai): fail over from html upstream providers
awsl233777 c88f8a0
fix(local-ai): try compatible chat upstream routes
awsl233777 15efb09
fix(local-ai): send user agent to upstreams
awsl233777 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Preserve upstream headers before checking streaming HTML errors.
streamResponsesSseandstreamChatCompletionsAsResponsesSsereturn error results withoutheaderson HTTP >= 400, so these new checks missContent-Type: text/htmlunless the body starts with an HTML tag. Includeheaders: upstreamRes.headers || {}in those failure/retry results before relying onisHtmlUpstreamResult.Proposed fix
Apply the same shape in both streaming helpers’ non-OK result paths.
Also applies to: 2274-2277
🤖 Prompt for AI Agents