| name | add-model |
| description | Add a new model to an existing provider |
| user-invocable | true |
| argument-hint | <provider-name> <model-name> |
Add a new model to provider $ARGUMENTS[0]:
- Look at existing model configs in
core/providers/$ARGUMENTS[0]/src/configs/ to understand the pattern
- Look at existing model schemas in
core/providers/$ARGUMENTS[0]/src/models/ for schema patterns
- Create the new model config following the established pattern
- Create the model schema with proper Zod validators
- Export the new model from the provider's barrel file
- Run
pnpm run build from the provider directory to verify
- Run
pnpm run test from the provider directory to verify