# LoomSettings

A loom's settings: whether night weaving runs, how long it waits for quiet, and which model it uses. A field left null takes its default.

**Kind:** an object, used in requests and responses. In a request it is called `LoomSettingsInput`.

## In a request

| Field | Type | Required | Description |
|---|---|---|---|
| `nightWeaving` | `boolean \| null` |  | Whether night weaving consolidates this loom once its conversations go quiet. Null means on. |
| `quietMinutes` | `integer \| null` |  | Minutes of quiet after the last turn before night weaving may begin: 1 to 1,440. Null means 15. |
| `weaverModel` | `string \| null` |  | The name of the model night weaving thinks with. Null: the bound agent's own model. |

```json
{
  "nightWeaving": false,
  "quietMinutes": 0,
  "weaverModel": "..."
}
```

## In a response

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `nightWeaving` | `boolean \| null` | Whether night weaving consolidates this loom once its conversations go quiet. Null means on. |
| `quietMinutes` | `integer \| null` | Minutes of quiet after the last turn before night weaving may begin: 1 to 1,440. Null means 15. |
| `weaverModel` | `string \| null` | The name of the model night weaving thinks with. Null: the bound agent's own model. |
| `effectiveNightWeaving` | `boolean` | Whether night weaving is on, with the default applied. Set by Maitento. |
| `effectiveQuietPeriod` | `timespan` | The quiet period night weaving waits for, with the default and limits applied. Set by Maitento. |

```json
{
  "nightWeaving": false,
  "quietMinutes": 0,
  "weaverModel": "...",
  "effectiveNightWeaving": false,
  "effectiveQuietPeriod": "00:05:00"
}
```

## Where it's used

- Inside [`Loom`](https://docs.maitento.com/reference/types/loom.md)
- Inside [`LoomCreateRequest`](https://docs.maitento.com/reference/types/loom-create-request.md)
- Inside [`LoomUpdateRequest`](https://docs.maitento.com/reference/types/loom-update-request.md)
