mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 22:18:54 +08:00
feat(core): improve byok ux (#15303)
fix #15265 #### PR Dependency Tree * **PR #15303** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal)
This commit is contained in:
@@ -6140,6 +6140,14 @@ export function useAFFiNEI18N(): {
|
||||
* `Endpoint`
|
||||
*/
|
||||
["com.affine.settings.workspace.byok.field.endpoint"](): string;
|
||||
/**
|
||||
* `Custom endpoints are disabled by the server administrator. In Self-hosted Admin, enable copilot.byok.allowCustomEndpoint.`
|
||||
*/
|
||||
["com.affine.settings.workspace.byok.endpoint.custom-disabled"](): string;
|
||||
/**
|
||||
* `Private network endpoints additionally require the server administrator to enable copilot.byok.allowPrivateEndpoint.`
|
||||
*/
|
||||
["com.affine.settings.workspace.byok.endpoint.private-disabled"](): string;
|
||||
/**
|
||||
* `Primary`
|
||||
*/
|
||||
|
||||
@@ -1532,6 +1532,8 @@
|
||||
"com.affine.settings.workspace.byok.field.storage": "Key storage",
|
||||
"com.affine.settings.workspace.byok.field.api-key": "API key",
|
||||
"com.affine.settings.workspace.byok.field.endpoint": "Endpoint",
|
||||
"com.affine.settings.workspace.byok.endpoint.custom-disabled": "Custom endpoints are disabled by the server administrator. In Self-hosted Admin, enable copilot.byok.allowCustomEndpoint.",
|
||||
"com.affine.settings.workspace.byok.endpoint.private-disabled": "Private network endpoints additionally require the server administrator to enable copilot.byok.allowPrivateEndpoint.",
|
||||
"com.affine.settings.workspace.byok.placeholder.key-name": "Primary",
|
||||
"com.affine.settings.workspace.byok.placeholder.description": "Workspace fallback key",
|
||||
"com.affine.settings.workspace.byok.action.add-key": "Add key",
|
||||
|
||||
@@ -1532,6 +1532,8 @@
|
||||
"com.affine.settings.workspace.byok.field.storage": "密钥存储",
|
||||
"com.affine.settings.workspace.byok.field.api-key": "API key",
|
||||
"com.affine.settings.workspace.byok.field.endpoint": "Endpoint",
|
||||
"com.affine.settings.workspace.byok.endpoint.custom-disabled": "服务器管理员已禁用自定义端点。请在自托管管理后台启用 copilot.byok.allowCustomEndpoint。",
|
||||
"com.affine.settings.workspace.byok.endpoint.private-disabled": "私有网络端点还需要服务器管理员启用 copilot.byok.allowPrivateEndpoint。",
|
||||
"com.affine.settings.workspace.byok.placeholder.key-name": "Primary",
|
||||
"com.affine.settings.workspace.byok.placeholder.description": "工作区回退密钥",
|
||||
"com.affine.settings.workspace.byok.action.add-key": "添加密钥",
|
||||
|
||||
Reference in New Issue
Block a user