dust-llm
Adding Support for a New LLM Model
This skill guides you through adding support for a newly released LLM.
Quick Reference
Files to Modify
| File | Purpose |
|---|---|
front/types/assistant/models/{provider}.ts |
Model ID + configuration |
front/lib/api/assistant/token_pricing.ts |
Pricing per million tokens |
front/types/assistant/models/models.ts |
Central registry |
front/lib/api/llm/clients/{provider}/types.ts |
Router whitelist |
sdks/js/src/types.ts |
SDK types |
front/components/providers/types.ts |
UI availability (optional) |
front/lib/api/llm/tests/llm.test.ts |
Integration tests |
Prerequisites
More from dust-tt/dust
react-hook-form-writer
Write and refactor React forms using react-hook-form with Zod validation. Use when creating new form components, converting existing forms to react-hook-form, or implementing form validation patterns.
74dust-mcp-server
Step-by-step guide for creating new internal MCP server integrations in Dust that connect to remote platforms (Jira, HubSpot, Salesforce, etc.). Use when adding a new MCP server, implementing a platform integration, or connecting Dust to a new external service.
60dust-temporal
Step-by-step guide for creating Temporal workflows in Dust. Use when adding background jobs, async processing, durable workflows, or task queues.
59dust-test
Step-by-step guide for writing focused, practical tests for Dust codebases following the 80/20 principle.
54writing-react-effects
Writes React components without unnecessary useEffect. Use when creating/reviewing React components, refactoring effects, or when code uses useEffect to transform data or handle events.
53dust-call-agent
Call a Dust agent to get information (read a slack thread, a notion URL, a google drive document...), perform an action (post a message to slack, create a calendar event, ...), provide context on any topic regarding Dust (the company, current discussions, customers...) or in general have the Dust agent perform a given task.
34