96f201bf3f
Split the single model setting into `chatModel` and `agentModel` to allow using different LLMs for conversational modes (Ask, Research) versus agentic modes (Edit, Organize, Workflow, auto-organizer). Defaults are `deepseek-v4-flash` for chat and `glm-5.1` for agents. Includes backward compatibility migration from legacy `model` field, updated settings UI, per-mode tool filtering via new `agent-modes.ts` configs, and vault search scoring improvements (exact phrase, recency, filename bonuses).