feat: support per-account proxy settings#30
Open
zerogzy wants to merge 9 commits into
Open
Conversation
# Conflicts: # services/protocol/openai_v1_chat_complete.py # services/protocol/openai_v1_response.py # test/test_gemini_native.py # test/test_gemini_provider.py
AI PR Review RefusedThis PR targets |
AI PR Review FailedThe AI PR review could not be completed, so no review state was submitted. Reason: OpenAI API returned HTTP 503. |
1 similar comment
AI PR Review FailedThe AI PR review could not be completed, so no review state was submitted. Reason: OpenAI API returned HTTP 503. |
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.
概述
本 PR 新增账号级代理配置能力。账号未设置代理时继续使用全局代理;账号设置代理后,上游请求会优先使用该账号自己的代理。
主要改动
proxy字段,并在账号归一化和保存时保留该字段。account_id/row_id修改账号代理;脱敏账号修改状态仍保持原有限制。行为说明
proxy为空时:继续使用系统全局代理。proxy非空时:该账号请求优先使用账号代理。__Secure-1PSID+__Secure-1PSIDTS双字段。sso=<值>,不会放宽到完整 Cookie Header。验证
已执行以下检查: