mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
- db/migration/mysql: replace ADD COLUMN/CREATE INDEX IF NOT EXISTS with idempotent checks via information_schema (MySQL 8.0 <8.0.29 and some forks don't support IF NOT EXISTS for ADD COLUMN). Affects V2/V4/V5/V7 /V8/V9/V11/V12/V13/V14. Fix: gitee#IIYHLJ. - application-mysql.yml: add createDatabaseIfNotExist=true so MySQL Connector/J auto-creates the schema on first connection (requires CREATE privilege — documented fallback for restricted accounts). - llm/OllamaAutoDiscoveryRunner: rewrite seed tag when fuzzy-matching, prefer exact tag for default; skip models without tool support when auto-activating a default (prevents the phantom ':latest' trap when users pulled a specific size). - agent/graph/NodeStreamingChatHelper: detect 'does not support tools' and 'model not found' errors from Ollama and emit actionable Chinese prompts guiding users to qwen3 / qwen2.5:7b+ / llama3.1:8b+ etc. - ui/MessageBubble + types/chatError: surface the backend's actionable rawMessage in the failed-message card instead of a generic '未知错误'; strip redundant prefixes (Bad request: / [错误] / LLM 调用失败:) since the title already conveys the category. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| TEST_CASES.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| yarn.lock | ||