| 160 | } |
| 161 | |
| 162 | interface MergedModel { |
| 163 | name: string; |
| 164 | family?: string; |
| 165 | attachment: boolean; |
| 166 | reasoning: boolean; |
| 167 | tool_call: boolean; |
| 168 | structured_output?: boolean; |
| 169 | temperature: boolean; |
| 170 | knowledge?: string; |
| 171 | release_date: string; |
| 172 | last_updated: string; |
| 173 | open_weights: boolean; |
| 174 | interleaved?: boolean | { field: string }; |
| 175 | status?: string; |
| 176 | cost?: { |
| 177 | input: number; |
| 178 | output: number; |
| 179 | }; |
| 180 | limit: { |
| 181 | context: number; |
| 182 | output: number; |
| 183 | }; |
| 184 | modalities: { |
| 185 | input: string[]; |
| 186 | output: string[]; |
| 187 | }; |
| 188 | } |
| 189 | |
| 190 | function mergeModel( |
| 191 | apiModel: z.infer<typeof FriendliModel>, |
nothing calls this directly
no outgoing calls
no test coverage detected