| 158 | } |
| 159 | |
| 160 | interface ProcessedModel { |
| 161 | name: string; |
| 162 | family?: string; |
| 163 | release_date: string; |
| 164 | last_updated: string; |
| 165 | attachment: boolean; |
| 166 | reasoning: boolean; |
| 167 | temperature: boolean; |
| 168 | tool_call: boolean; |
| 169 | structured_output: boolean; |
| 170 | open_weights: boolean; |
| 171 | cost: { |
| 172 | input: number; |
| 173 | output: number; |
| 174 | }; |
| 175 | limit: { |
| 176 | context: number; |
| 177 | output: number; |
| 178 | }; |
| 179 | modalities: { |
| 180 | input: string[]; |
| 181 | output: string[]; |
| 182 | }; |
| 183 | } |
| 184 | |
| 185 | function processModel(apiModel: z.infer<typeof JiekouModel>): ProcessedModel { |
| 186 | const features = apiModel.features ?? []; |
nothing calls this directly
no outgoing calls
no test coverage detected