@wasmagent/model-doubao
v1.0.3
Published
Doubao (Volcengine Ark) model adapter for wasmagent
Downloads
235
Readme
/model-doubao
Doubao / Volcengine Ark adapter — thinking tiers + auto-prefix / ark-context cache strategies.
Part of wasmagent — a TypeScript + WASM agent runtime.
▽ Maintenance-mode. This adapter is functional and security-patched, but is not receiving proactive feature work — it is dominated by
GenericOpenAICompatModel+ a recipe indocs/guides/openai-compat-recipes.md. See maintenance tiers for the rationale. If you actively use this package and want it promoted to ◆ Narrative, open an issue taggedtier:promote-requestwith your use case.
Install
npm install /model-doubao /coreUsage
import { DoubaoModel, DoubaoModels } from "/model-doubao";
const model = new DoubaoModel(DoubaoModels.DOUBAO_SEED_1_6, {
apiKey: process.env.DOUBAO_API_KEY,
thinking: { mode: "enabled", effort: "high" },
});⚠️ Compliance — Volcengine Ark may store request/response data per its terms of service. Review your data residency requirements before using in production.
License
Apache-2.0 — © wasmagent contributors
