diff --git a/README.md b/README.md index d0dcf4b..17a8649 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ If this project helps you, a Star would mean a lot. - Auto token refresh, SSE streaming, Web admin panel - Multiple auth: AWS Builder ID, IAM Identity Center (Enterprise SSO), SSO Token, local cache, credentials JSON - Usage tracking, account import/export, i18n (CN / EN) +- Support configuring outbound proxy (SOCKS5 / HTTP) ## Quick Start @@ -74,6 +75,12 @@ curl http://localhost:8080/v1/chat/completions \ Append a suffix (default `-thinking`) to the model name, e.g. `claude-sonnet-4.5-thinking`. Claude-compatible requests that include a top-level `thinking` config such as `{"type":"enabled","budget_tokens":2048}` or `{"type":"adaptive"}` also enable thinking mode automatically. Configure output format in the admin panel under Settings - Thinking Mode. +## Outbound Proxy + +For users in restricted network regions, configure an outbound proxy in the admin panel under **Settings - Outbound Proxy Settings**. Supports SOCKS5 and HTTP proxies. + +The setting takes effect immediately without restarting. + ## Environment Variables | Variable | Description | Default | diff --git a/README_CN.md b/README_CN.md index 542b2f3..8e9fdf6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -17,6 +17,7 @@ - 自动 Token 刷新、SSE 流式输出、Web 管理面板 - 多种认证方式:AWS Builder ID、IAM Identity Center (企业 SSO)、SSO Token、本地缓存、凭证 JSON - 用量追踪、账号导入导出、中英双语 +- 支持设置出站代理(SOCKS5 / HTTP) ## 快速开始 @@ -74,6 +75,12 @@ curl http://localhost:8080/v1/chat/completions \ 在模型名后加后缀(默认 `-thinking`)即可启用,例如 `claude-sonnet-4.5-thinking`。Claude 兼容请求如果带有顶层 `thinking` 配置,例如 `{"type":"enabled","budget_tokens":2048}` 或 `{"type":"adaptive"}`,也会自动启用 thinking 模式。输出格式可在管理面板「设置 - Thinking 模式」中配置。 +## 出站代理 + +可在管理面板「设置 - 出站代理设置」中配置代理。支持 SOCKS5 和 HTTP 代理。 + +设置保存后即时生效,无需重启服务。 + ## 环境变量 | 变量 | 说明 | 默认值 | diff --git a/config/config.go b/config/config.go index 7195fde..dfce5df 100644 --- a/config/config.go +++ b/config/config.go @@ -143,7 +143,7 @@ type AccountInfo struct { } // Version current version -const Version = "1.0.5" +const Version = "1.0.6" var ( cfg *Config diff --git a/version.json b/version.json index 3942b7b..14e14d7 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "1.0.5", + "version": "1.0.6", "changelog": "✨ Added and fixed several improvements across the project.\n✨ 新增并修复了一些内容,包含若干功能改进与问题修复。", "download": "https://github.com/Quorinex/Kiro-Go" } diff --git a/web/index.html b/web/index.html index 2dd725c..0d6985b 100644 --- a/web/index.html +++ b/web/index.html @@ -1183,7 +1183,7 @@ 'settings.proxyPassword': '密码', 'settings.proxyHostRequired': '请填写代理地址和端口', 'settings.saveProxy': '保存代理设置', - 'settings.proxySaved': '代理设置已保存,已即时生效', + 'settings.proxySaved': '代理设置已保存', 'api.endpoints': 'API 端点', 'api.modelList': '模型列表', 'api.stats': '统计数据', @@ -1399,7 +1399,7 @@ 'settings.proxyPassword': 'Password', 'settings.proxyHostRequired': 'Please enter proxy host and port', 'settings.saveProxy': 'Save Proxy Settings', - 'settings.proxySaved': 'Proxy settings saved and applied', + 'settings.proxySaved': 'Proxy settings saved', 'api.endpoints': 'API Endpoints', 'api.modelList': 'Model List', 'api.stats': 'Statistics',