(model: string)
| 25 | } |
| 26 | |
| 27 | export function parseModel(model: string) { |
| 28 | const [providerID, ...rest] = model.split("/") |
| 29 | return { |
| 30 | providerID: providerID, |
| 31 | modelID: rest.join("/"), |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | export function recentModels( |
| 36 | model: { providerID: string; modelID: string }, |
no outgoing calls
no test coverage detected