allow custom claude api url (#644)

This commit is contained in:
josc146
2024-03-23 16:18:31 +08:00
parent e2ec8ac2e6
commit 74bcba8fcc
16 changed files with 40 additions and 14 deletions
+11
View File
@@ -103,6 +103,17 @@ function ApiUrl({ config, updateConfig }) {
}}
/>
</label>
<label>
{t('Custom Claude API Url')}
<input
type="text"
value={config.customClaudeApiUrl}
onChange={(e) => {
const value = e.target.value
updateConfig({ customClaudeApiUrl: value })
}}
/>
</label>
</>
)
}