---
title: "Update provider and model"
method: PUT
path: "/config/model"
---

# Update provider and model

`PUT /config/model`

## Request body

- ModelInfo
  - `provider` string, required
  - `model` string, required

## Response `200`

Updated model

- ModelInfo
  - `provider` string, required
  - `model` string, required

---

[API](https://skmtc.dev/davis7dotsh/apis/btca-local-server-api.md) · [All operations](https://skmtc.dev/davis7dotsh/apis/btca-local-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/davis7dotsh/btca-local-server-api/revisions/1b82f93bf5e8/schema)
