mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 11:13:43 +08:00
Closes #168 The native DashScope provider exposes both chat and embedding models, but DASHSCOPE_NATIVE_ALLOW_PREFIXES only listed chat families (qwen-/qwen2-/qwen3-/deepseek-/baichuan/yi-/llama). When a user manually added text-embedding-v1/v2/v3/v4 to the dashscope provider, assertModelIdAcceptable() rejected the id because no allow prefix matched. Add 'text-embedding-' to the allow-list and broaden the doc comment from "native chat protocol" to "native protocol (chat or embedding)" so the intent is clear. Discovery probing is chat-based and will still mark embedding entries probeOk=false; surfacing them as discoverable embedding suggestions is a separate follow-up. |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| pom.xml | ||
| settings.xml | ||