(providerID: string)
| 2036 | } |
| 2037 | |
| 2038 | export async function getProvider(providerID: string) { |
| 2039 | return state().then((s) => s.providers[providerID]) |
| 2040 | } |
| 2041 | |
| 2042 | export async function getModel(providerID: string, modelID: string) { |
| 2043 | const s = await state() |