| 1 | type Modality = "text" | "audio" | "image" | "video" | "pdf"; |
| 2 | |
| 3 | export interface DescriptionInput { |
| 4 | id?: string; |
| 5 | providerId?: string; |
| 6 | name?: string; |
| 7 | family?: string; |
| 8 | reasoning?: boolean; |
| 9 | tool_call?: boolean; |
| 10 | structured_output?: boolean; |
| 11 | open_weights?: boolean; |
| 12 | status?: "alpha" | "beta" | "deprecated"; |
| 13 | limit?: { |
| 14 | context?: number; |
| 15 | input?: number; |
| 16 | output?: number; |
| 17 | }; |
| 18 | modalities?: { |
| 19 | input?: Modality[]; |
| 20 | output?: Modality[]; |
| 21 | }; |
| 22 | } |
| 23 | |
| 24 | export function describeModel(model: DescriptionInput) { |
| 25 | const id = model.id ?? ""; |
nothing calls this directly
no outgoing calls
no test coverage detected