---
title: "更新 LLM 模型"
method: PUT
path: "/api/v1/provider/models/llm/{model_uuid}"
tags: ["LLM Models"]
---

# 更新 LLM 模型

`PUT /api/v1/provider/models/llm/{model_uuid}`

## Path parameters

- `model_uuid` string, uuid, required

## Request body

- LLMModelUpdate
  - `name` string
  - `provider_uuid` string, uuid
  - `abilities` string[]
  - `extra_args` object
  - `prefered_ranking` integer

## Response `200`

操作成功

- object
  - `code` integer

---

[API](https://skmtc.dev/langbot/apis/langbot-service-api.md) · [All operations](https://skmtc.dev/langbot/apis/langbot-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langbot/langbot-service-api/revisions/2384dee8c36a/schema)
