cURL
curl --request POST \ --url http://localhost:5300/api/v1/provider/models/llm/{model_uuid}/test \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "prompt": "Hello" } '
{ "code": 0 }
向指定的 LLM 模型发送测试请求,验证模型是否可用。
Documentation IndexFetch the complete documentation index at: https://docs.langbot.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.langbot.app/llms.txt
Use this file to discover all available pages before exploring further.
测试用的提示文本
"Hello"
操作成功
0