Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

fix(web): put the agent source ahead of model settings

tianma-iffe90dfa9af15
diff --git a/apps/ios/EdgeEver/Features/Workspace/AiAssistantSheet.swift b/apps/ios/EdgeEver/Features/Workspace/AiAssistantSheet.swift
index 0caed54b..c981167f 100644
--- a/apps/ios/EdgeEver/Features/Workspace/AiAssistantSheet.swift
+++ b/apps/ios/EdgeEver/Features/Workspace/AiAssistantSheet.swift
@@ -636,8 +636,8 @@ struct AiAssistantSheet: View {
// User stopped generation.
} catch let apiError as APIError where apiError.code == "ai_not_configured" {
error = env.preferences.t(
- "请先在 Web 或桌面端的“AI 集成”中配置模型。",
- en: "Configure a model in AI Integrations on the web or desktop app first."
+ "请先在 Web 或桌面端的“模型与代理”中配置模型。",
+ en: "Configure a model in Models and agents on the web or desktop app first."
)
} catch {
self.error = error.localizedDescription
diff --git a/apps/ios/EdgeEver/Features/Workspace/MemoEditView.swift b/apps/ios/EdgeEver/Features/Workspace/MemoEditView.swift
index 3928c686..00cea5dd 100644
--- a/apps/ios/EdgeEver/Features/Workspace/MemoEditView.swift
+++ b/apps/ios/EdgeEver/Features/Workspace/MemoEditView.swift
@@ -808,8 +808,8 @@ struct MemoEditView: View {
isSuggestingTags = false
smartTagAlertTitle = env.preferences.t("智能标签生成失败", en: "Couldn't generate smart tags")
smartTagAlertMessage = env.preferences.t(
- "请先在“AI 集成”中配置默认模型。",
- en: "Configure a model in AI Integrations first."
+ "请先在“模型与代理”中配置默认模型。",
+ en: "Configure a model in Models and agents first."
)
showSmartTagAlert = true
smartTagTask = nil
diff --git a/apps/mobile/src/components/MobileAiAssistantModal.tsx b/apps/mobile/src/components/MobileAiAssistantModal.tsx
index 7d0ec43b..c4323e49 100644
--- a/apps/mobile/src/components/MobileAiAssistantModal.tsx
+++ b/apps/mobile/src/components/MobileAiAssistantModal.tsx
@@ -214,7 +214,7 @@ export const MobileAiAssistantModal = ({
if (controller.signal.aborted) return;
setError(
caught instanceof ApiRequestError && caught.code === "ai_not_configured"
- ? tr("请先在 Web 或桌面端的“AI 集成”中配置模型。", "Configure a model in AI Integrations on the web or desktop app first.")
+ ? tr("请先在 Web 或桌面端的“模型与代理”中配置模型。", "Configure a model in Models and agents on the web or desktop app first.")
: caught instanceof Error ? caught.message : tr("AI 生成失败。", "AI generation failed.")
);
} finally {
diff --git a/apps/mobile/src/hooks/useMobileSelectionAi.ts b/apps/mobile/src/hooks/useMobileSelectionAi.ts
index 69037db7..edd899ac 100644
--- a/apps/mobile/src/hooks/useMobileSelectionAi.ts
+++ b/apps/mobile/src/hooks/useMobileSelectionAi.ts
@@ -65,8 +65,8 @@ export const useMobileSelectionAi = ({
if (controller.signal.aborted) return;
const message = requestError instanceof ApiRequestError && requestError.code === "ai_not_configured"
? (resolvedLocale === "en-US"
- ? "Configure a model in AI Integrations on the web or desktop app first."
- : "请先在 Web 或桌面端的“AI 集成”中配置模型。")
+ ? "Configure a model in Models and agents on the web or desktop app first."
+ : "请先在 Web 或桌面端的“模型与代理”中配置模型。")
: requestError instanceof Error
? requestError.message
: resolvedLocale !== "zh-CN" ? "AI generation failed." : "AI 生成失败。";
diff --git a/apps/mobile/src/screens/WorkspacePickers.tsx b/apps/mobile/src/screens/WorkspacePickers.tsx
index 9676ca49..91f1401e 100644
--- a/apps/mobile/src/screens/WorkspacePickers.tsx
+++ b/apps/mobile/src/screens/WorkspacePickers.tsx
@@ -320,7 +320,7 @@ export const SmartTagButton = ({
Alert.alert(
translate("智能标签生成失败"),
error instanceof ApiRequestError && error.code === "ai_not_configured"
- ? translate("请先在“AI 集成”中配置默认模型。")
+ ? translate("请先在“模型与代理”中配置默认模型。")
: error instanceof Error
? error.message
: translate("AI 标签建议生成失败。")
diff --git a/apps/web/src/components/SettingsPane.tsx b/apps/web/src/components/SettingsPane.tsx
index 76c6a414..2bf54008 100644
--- a/apps/web/src/components/SettingsPane.tsx
+++ b/apps/web/src/components/SettingsPane.tsx
@@ -232,8 +232,8 @@ export const SettingsPane = ({
case "ai":
return (
<SettingsGroup>
- <AiModelCard />
<DesktopAcpAgentCard />
+ <AiModelCard />
</SettingsGroup>
);
case "mcp":
diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.ts
index 92a63cc8..60f384da 100644
--- a/packages/shared/src/i18n/en-US.ts
+++ b/packages/shared/src/i18n/en-US.ts
@@ -915,7 +915,7 @@ export const enUS = {
tabs: {
general: "General",
shortcuts: "Shortcuts",
- ai: "AI Integrations",
+ ai: "Models and agents",
mcp: "API / MCP",
data: "Import & Export",
advanced: "Advanced",
@@ -1287,7 +1287,7 @@ export const enUS = {
sourceRequired: "This action needs note content. Add some content first, or use a custom prompt to generate from a blank note.",
requestInvalid: "The AI request is invalid. Check the selected action and input, then try again.",
networkError: "Could not connect to the service. Make sure it is running, then try again.",
- configure: "Configure an AI model in Me → AI Integrations first.",
+ configure: "Configure an AI model in Me → Models and agents first.",
sidebar: {
title: "AI assistant",
close: "Collapse assistant",
@@ -1337,7 +1337,7 @@ export const enUS = {
description: "Use the built-in companion, or a local ACP agent on this computer.",
localDisabled: "Needs the desktop app. A browser cannot use a local agent.",
builtin: "Built-in companion",
- builtinHint: "Uses the AI model configured above.",
+ builtinHint: "Uses the AI model configured below.",
local: "Local ACP agent",
localHint: "Codex or Antigravity on this computer. EdgeEver does not grant the agent your notes folder or a terminal.",
adapter: "Agent",
@@ -2047,7 +2047,7 @@ export const enUS = {
aiAdded: "Added {{count}}",
aiEmptyShort: "No useful tags",
aiRetry: "Suggest again",
- aiConfigure: "Configure a model in AI Integrations first.",
+ aiConfigure: "Configure a model in Models and agents first.",
aiFailed: "Could not generate tag suggestions.",
},
searchPlaceholder: "Search in current note",
diff --git a/packages/shared/src/i18n/ja.ts b/packages/shared/src/i18n/ja.ts
index 3f9414dd..626f9163 100644
--- a/packages/shared/src/i18n/ja.ts
+++ b/packages/shared/src/i18n/ja.ts
@@ -29,7 +29,7 @@ export const ja = {
enable: "肉球モードを有効にする",
settingsFailed: "設定を保存できませんでした。接続を確認するか、更新して再試行してください。",
modelRequired: "肉球モードをオンにする前に、デフォルトの AI モデルを設定して有効にしてください。",
- configureModel: "AI 連携を開く",
+ configureModel: "モデルとエージェントを開く",
openCompanion: "会話と個人記憶",
openCompanionDesc: "保存した好み、根拠となった操作、会話を確認できます。",
panelDescription: "すべて処理する必要はありません。承認した操作だけがノートを変更します。発見は 7 日後に消えます。",
@@ -130,7 +130,7 @@ export const ja = {
"settings": "設定",
"emptyTitle": "ノートから、あなたの考えへ",
"privacyTitle": "送信内容はデフォルトのモデル提供元へ渡ります · データと権限",
- "unavailableHelp": "ここはあなた専用のチャットと記憶の場所です。デモモード、ログイン未設定、または未ログインのときは、個人記憶の読み取りや保存は行いません。ログインが有効な非デモインスタンスで個人アカウントにサインインしてください。チャットの前に、個人設定の AI 連携でデフォルトモデルを設定してください。",
+ "unavailableHelp": "ここはあなた専用のチャットと記憶の場所です。デモモード、ログイン未設定、または未ログインのときは、個人記憶の読み取りや保存は行いません。ログインが有効な非デモインスタンスで個人アカウントにサインインしてください。チャットの前に、個人設定のモデルとエージェントでデフォルトモデルを設定してください。",
"intro": "ノートの書き換えだけではありません。あなたがはっきり伝えた好みを、EdgeEver に覚えてもらいましょう。",
"privacy": "設定済みのデフォルト AI モデルを使います。送信すると、会話、有効な記憶、取り出したノート抜粋がそのモデル提供元へ渡ります。記憶とチャットはこのインスタンスのサーバーに保存され、端末だけのデータではありません。",
"chat": "チャット",
@@ -915,7 +915,7 @@ export const ja = {
tabs: {
general: "一般",
shortcuts: "ショートカット",
- ai: "AI 連携",
+ ai: "モデルとエージェント",
mcp: "API / MCP",
data: "インポートとエクスポート",
advanced: "詳細",
@@ -1287,7 +1287,7 @@ export const ja = {
sourceRequired: "この操作にはノートの内容が必要です。先に内容を追加するか、カスタムプロンプトで空のノートから生成してください。",
requestInvalid: "AI リクエストが無効です。選んだ操作と入力を確認して再試行してください。",
networkError: "サービスに接続できませんでした。稼働を確認してから再試行してください。",
- configure: "先に「マイ → AI 連携」で AI モデルを設定してください。",
+ configure: "先に「マイ → モデルとエージェント」で AI モデルを設定してください。",
sidebar: {
title: "AI アシスタント",
close: "アシスタントをしまう",
@@ -1337,7 +1337,7 @@ export const ja = {
description: "内蔵コンパニオンか、このコンピュータ上のローカル ACP エージェントを使います。",
localDisabled: "デスクトップアプリが必要です。ブラウザではローカルエージェントを使えません。",
builtin: "内蔵コンパニオン",
- builtinHint: "上で設定した AI モデルを使います。",
+ builtinHint: "下で設定した AI モデルを使います。",
local: "ローカル ACP エージェント",
localHint: "このコンピュータ上の Codex または Antigravity です。EdgeEver はノートのフォルダもターミナルも渡しません。",
adapter: "エージェント",
@@ -2047,7 +2047,7 @@ export const ja = {
aiAdded: "{{count}} 件追加",
aiEmptyShort: "使えるタグなし",
aiRetry: "もう一度提案",
- aiConfigure: "先に AI 連携でモデルを設定してください。",
+ aiConfigure: "先にモデルとエージェントでモデルを設定してください。",
aiFailed: "タグの提案を生成できませんでした。",
},
searchPlaceholder: "現在のノート内を検索",
diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.ts
index 9bca35b2..92a4e604 100644
--- a/packages/shared/src/i18n/zh-CN.ts
+++ b/packages/shared/src/i18n/zh-CN.ts
@@ -29,7 +29,7 @@ export const zhCN = {
enable: "启用猫爪模式",
settingsFailed: "设置未保存。请检查连接或刷新后重试。",
modelRequired: "开启猫爪模式前,请先配置并启用默认 AI 模型。",
- configureModel: "前往 AI 集成",
+ configureModel: "前往模型与代理",
openCompanion: "对话与个人记忆",
openCompanionDesc: "查看猫爪记住的偏好、操作依据和对话。",
panelDescription: "不需要逐条处理。只有你确认的操作才会改变笔记;发现 7 天后自动隐藏。",
@@ -130,7 +130,7 @@ export const zhCN = {
"settings": "设置",
"emptyTitle": "从你的笔记,到你的想法",
"privacyTitle": "发送内容会交给默认模型服务商 · 数据与权限说明",
- "unavailableHelp": "这里是你的独立聊天与记忆空间。当前实例为演示模式、未开启登录或尚未登录,因此暂不读取或保存个人记忆。请使用开启登录的非演示实例,并登录个人账户;聊天前还需在个人中心的 AI 集成中配置默认模型。",
+ "unavailableHelp": "这里是你的独立聊天与记忆空间。当前实例为演示模式、未开启登录或尚未登录,因此暂不读取或保存个人记忆。请使用开启登录的非演示实例,并登录个人账户;聊天前还需在个人中心的模型与代理中配置默认模型。",
"intro": "不只是改写笔记:让 EdgeEver 记住你明确告诉她的偏好。",
"privacy": "使用已配置的默认 AI 模型。发送时,对话、启用的记忆及检索到的笔记片段会交给该模型服务商;记忆与聊天保存在当前实例服务端,不是设备本地专有数据。",
"chat": "聊天",
@@ -915,7 +915,7 @@ export const zhCN = {
tabs: {
general: "常规设置",
shortcuts: "快捷键",
- ai: "AI集成",
+ ai: "模型与代理",
mcp: "API / MCP",
data: "导入导出",
advanced: "高级设置",
@@ -1287,7 +1287,7 @@ export const zhCN = {
sourceRequired: "当前处理方式需要笔记内容。请先输入内容,或改用自定义指令从空白开始生成。",
requestInvalid: "AI 请求参数无效,请检查处理方式和输入内容后重试。",
networkError: "无法连接服务。请确认服务正在运行,然后重试。",
- configure: "请先在“我的 → AI 集成”中配置 AI 模型。",
+ configure: "请先在“我的 → 模型与代理”中配置 AI 模型。",
sidebar: {
title: "AI 助手",
close: "收起助手",
@@ -1337,7 +1337,7 @@ export const zhCN = {
description: "使用内置助手,或使用这台电脑上的本地 ACP 代理。",
localDisabled: "需要桌面客户端。网页里不能使用本机代理。",
builtin: "内置助手",
- builtinHint: "使用上方配置的 AI 模型。",
+ builtinHint: "使用下方配置的 AI 模型。",
local: "本地 ACP 代理",
localHint: "使用这台电脑上的 Codex 或 Antigravity。EdgeEver 不会把笔记目录或终端交给代理。",
adapter: "代理",
@@ -2045,7 +2045,7 @@ export const zhCN = {
aiAdded: "已添加 {{count}} 个",
aiEmptyShort: "无合适标签",
aiRetry: "重新生成",
- aiConfigure: "请先在“AI 集成”中配置默认模型。",
+ aiConfigure: "请先在“模型与代理”中配置默认模型。",
aiFailed: "AI 标签建议生成失败。",
},
searchPlaceholder: "在当前笔记内搜索",
diff --git a/tests/e2e/ai-custom-prompts.spec.ts b/tests/e2e/ai-custom-prompts.spec.ts
index 953850bd..ae83367b 100644
--- a/tests/e2e/ai-custom-prompts.spec.ts
+++ b/tests/e2e/ai-custom-prompts.spec.ts
@@ -151,7 +151,7 @@ test.describe("AI custom prompts", () => {
test("keeps secondary content out of AI integration settings", async ({ page }) => {
await ensureAuthenticatedPage(page);
await page.getByRole("button", { name: "个人中心", exact: true }).click();
- await page.getByRole("button", { name: "AI集成", exact: true }).click();
+ await page.getByRole("button", { name: "模型与代理", exact: true }).click();
await expect(page.getByRole("heading", { name: "外部 AI 模型", exact: true })).toBeVisible();
await expect(page.getByRole("heading", { name: "API Token 与 MCP 配置", exact: true })).toBeVisible();