Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ Models must conform to the following schema, as defined in `app/schemas.ts`.
- `limit.output`: Number — Maximum output tokens
- `modalities.input`: Array of strings — Supported input modalities (e.g., ["text", "image", "audio", "video", "pdf"])
- `modalities.output`: Array of strings — Supported output modalities (e.g., ["text"])
- `deprecated` _(optional)_: Boolean — Set to true when the provider no longer serves this model via their public API

### Examples

Expand Down
1 change: 1 addition & 0 deletions packages/core/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const Model = z
output: z.number().min(0, "Output tokens must be positive"),
}),
experimental: z.boolean().optional(),
deprecated: z.boolean().optional(),
provider: z
.object({
npm: z.string().optional(),
Expand Down