メインコンテンツへスキップ
PUT
/
api
/
v1
/
provider
/
models
/
llm
/
{model_uuid}
更新 LLM 模型
curl --request PUT \
  --url http://localhost:5300/api/v1/provider/models/llm/{model_uuid} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "provider_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "abilities": [
    "<string>"
  ],
  "extra_args": {},
  "prefered_ranking": 123
}
'
{
  "code": 0
}

承認

X-API-Key
string
header
必須

パスパラメータ

model_uuid
string<uuid>
必須

ボディ

application/json
name
string
provider_uuid
string<uuid>
abilities
string[]
extra_args
object
prefered_ranking
integer

レスポンス

200 - application/json

操作成功

code
integer
:

0