(id: string)
| 57 | return await request.post(`${project_base_url}/models`, params) |
| 58 | } |
| 59 | const getModelsForm = async (id: string) => { |
| 60 | const project_base_url = `api/v1` |
| 61 | return await request.get(`${project_base_url}/models/${id}?include_credentials_schema=true&include_display_credentials=true`) |
| 62 | } |
| 63 | const getModelProviderList = async (type: string) => { |
| 64 | const project_base_url = `api/v1` |
| 65 | if (type) { |
no test coverage detected