模型管理

获取模型厂商列表

Changed on

根据模型类型获取支持的厂商定义(含图标、默认地址、额外字段、内置模型目录与思考能力)

get/models/providers

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/models/providers
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Query parameters

model_type'chat' | 'embedding' | 'rerank' | 'vllm' | 'asr'

模型类型 (chat, embedding, rerank, vllm, asr)

Response

厂商列表

successboolean

Example response

{
  "success": true
}

Changes