diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 6e24c8b..9500e2d 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -13,7 +13,7 @@ crate-type = ["staticlib", "cdylib", "rlib"] tauri-build = { version = "2", features = [] } [dependencies] -tauri = { version = "2", features = ["macos-private-api", "tray-icon"] } +tauri = { version = "2", features = ["macos-private-api", "tray-icon", "devtools"] } tauri-plugin-shell = "2" tauri-plugin-fs = "2" tauri-plugin-dialog = "2" diff --git a/src/renderer/components/SettingsPanel.tsx b/src/renderer/components/SettingsPanel.tsx index bfa0e1f..6f9d660 100644 --- a/src/renderer/components/SettingsPanel.tsx +++ b/src/renderer/components/SettingsPanel.tsx @@ -9,8 +9,6 @@ import { DEFAULT_STYLE_PROMPT, DEFAULT_AGENT_DRAFTER_PROMPT, DEFAULT_MODEL_CONFIG, - MODEL_TIERS, - MODEL_TIER_LABELS, ANTHROPIC_MODEL_OPTIONS, type EAConfig, type Config, @@ -18,7 +16,6 @@ import { type Signature, type McpServerConfig, type ModelConfig, - type ModelTier, type CliToolConfig, } from "../../shared/types"; import { useAppStore, type Account, type SettingsTab } from "../store"; @@ -1351,6 +1348,7 @@ export function SettingsPanel({ onClose, initialTab }: SettingsPanelProps) { key: "senderLookup" as const, label: "Sender Lookup", description: "Web search for sender info", + anthropicOnly: true, }, { key: "agentDrafter" as const, @@ -1362,36 +1360,89 @@ export function SettingsPanel({ onClose, initialTab }: SettingsPanelProps) { label: "Agent Chat", description: "Interactive agent sidebar conversations", }, - ].map(({ key, label, description }) => ( -
-
-

- {label} -

-

{description}

-
- -
- ))} +
+

+ {label} + {anthropicOnly && ( + + Anthropic-only + + )} +

+

+ {description} +

+ {isNonClaude && ( +

+ Configured model is not a Claude model — this feature will fail + until a Claude model is selected. +

+ )} +
+ + + ); + })} +

+ Picking a non-Anthropic model routes that feature through OpenRouter — make + sure an OpenRouter API key is configured in Agent Tools → AI Models, otherwise + the call will surface a clear “OpenRouter API key required” error. + Sender Lookup is the exception: it uses Anthropic’s web_search tool, + which has no OpenRouter equivalent, so the picker only offers Claude models + for that feature. +

{/* Updates */}