| 106 | } |
| 107 | |
| 108 | interface ExistingModel { |
| 109 | name?: string; |
| 110 | family?: string; |
| 111 | attachment?: boolean; |
| 112 | reasoning?: boolean; |
| 113 | tool_call?: boolean; |
| 114 | structured_output?: boolean; |
| 115 | temperature?: boolean; |
| 116 | knowledge?: string; |
| 117 | release_date?: string; |
| 118 | last_updated?: string; |
| 119 | open_weights?: boolean; |
| 120 | interleaved?: boolean | { field: string }; |
| 121 | status?: string; |
| 122 | cost?: { |
| 123 | input?: number; |
| 124 | output?: number; |
| 125 | reasoning?: number; |
| 126 | cache_read?: number; |
| 127 | cache_write?: number; |
| 128 | }; |
| 129 | limit?: { |
| 130 | context?: number; |
| 131 | input?: number; |
| 132 | output?: number; |
| 133 | }; |
| 134 | modalities?: { |
| 135 | input?: string[]; |
| 136 | output?: string[]; |
| 137 | }; |
| 138 | provider?: { |
| 139 | npm?: string; |
| 140 | api?: string; |
| 141 | }; |
| 142 | } |
| 143 | |
| 144 | async function loadExistingModel( |
| 145 | filePath: string, |
nothing calls this directly
no outgoing calls
no test coverage detected