File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -590,12 +590,12 @@ Wave 在后台自动维护项目记忆,帮助 AI 持续了解项目演变:
590590
591591### 10.1 配置设置 {#configuration-settings}
592592
593- 用户可以自定义 AI 模型、API Key、Base URL 等关键参数,以适配不同的 AI 服务提供商。配置界面中的表单字段仅显示用户手动输入的值,不会被环境变量填充;但如果设置了相应的环境变量(如 ` WAVE_BASE_URL ` ),其值会作为 placeholder 提示显示在输入框中。
593+ 用户可以自定义 AI 模型、API Key、Base URL 等关键参数,以适配不同的 AI 服务提供商。配置界面中的表单字段仅显示用户手动输入的值,不会被环境变量填充;但如果设置了相应的环境变量(如 ` WAVE_BASE_URL ` ),其值会作为 placeholder 提示显示在输入框中。服务端链接字段默认 placeholder 为"请联系管理员获取"。
594594
595595** 主要特性:**
596596
597- - ** AI URL ** :配置 Wave AI 实例地址 ,用于 SSO 认证。支持环境变量 ` WAVE_AI_URL ` 作为 fallback。
598- - ** SSO 登录/登出** :当配置了 AI URL 后 ,用户可通过 SSO 认证进行登录,无需手动配置 API Key。登录后所有 API 请求自动通过 Wave AI 代理路由。
597+ - ** 服务端链接 ** :配置 Wave AI 服务端地址 ,用于 SSO 认证。支持环境变量 ` WAVE_AI_URL ` 作为 fallback,默认 placeholder 提示"请联系管理员获取" 。
598+ - ** SSO 登录/登出** :当配置了服务端链接后 ,用户可通过 SSO 认证进行登录,无需手动配置 API Key。登录后所有 API 请求自动通过 Wave AI 代理路由。
599599 - ** 浏览器登录** :点击"SSO 登录"后自动打开浏览器,用户在 Wave AI 登录页完成认证(支持 SSO 企业身份提供商或账号密码登录),授权码通过 localhost 回调自动交换为 JWT 并保存。VS Code Remote SSH 环境会自动转发端口,远程服务器体验与本地一致。
600600 - ** 登录状态显示** :已认证时显示用户邮箱/ID 和登出按钮;登出后自动恢复为直接 LLM API 模式。
601601
Original file line number Diff line number Diff line change @@ -225,13 +225,13 @@ const ConfigurationDialog: React.FC<ConfigurationDialogProps & { vscode: any }>
225225 < form onSubmit = { handleSubmit } className = "configuration-form" >
226226 < div className = "configuration-fields-scroll-area" >
227227 < div className = "configuration-field" >
228- < label htmlFor = "aiUrl" > AI URL :</ label >
228+ < label htmlFor = "aiUrl" > 服务端链接 :</ label >
229229 < input
230230 id = "aiUrl"
231231 type = "url"
232232 value = { formData . aiUrl || '' }
233233 onChange = { ( e ) => handleInputChange ( 'aiUrl' , e . target . value ) }
234- placeholder = { configurationData ?. envAiUrl || 'https://wave-ai.example.com (或设置 WAVE_AI_URL) ' }
234+ placeholder = { configurationData ?. envAiUrl || '请联系管理员获取 ' }
235235 disabled = { isLoading }
236236 />
237237 </ div >
You can’t perform that action at this time.
0 commit comments