v1

latestOpenAPI 3.0.3AGPL-3.02026-07-26591738.7 KB
LLM Models

测试 LLM 模型

向指定的 LLM 模型发送测试请求,验证模型是否可用。

post/api/v1/provider/models/llm/{model_uuid}/test

Path parameters

model_uuidstring uuid required

Request body

promptstring

测试用的提示文本

Example request

{
  "prompt": "Hello"
}

Response

操作成功

codeinteger