# Enforce provider-model consistency for thread turn starts · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/fc9660f238f6270140914f2564dbc6410267e789)

Repository: [flambo/t3code](https://git.cafe/flambo/t3code)

Visibility: public

Requested revision: fc9660f238f6270140914f2564dbc6410267e789

Requested commit: fc9660f238f6270140914f2564dbc6410267e789

Commit: fc9660f238f6270140914f2564dbc6410267e789

Tree: 2cf3f25f6fd59ca384cf7098466759798dfe737d

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Enforce provider-model consistency for thread turn starts

- Reject turn starts that request a provider switch from the thread-bound provider
- Reject models that do not belong to the thread provider and log start failures
- Add shared `inferProviderForModel` helper and tests; reuse it in web store inference

```

## Parents

- [b403ca318342b0a4b19d0b9def19e5bffa62b3d0](https://git.cafe/flambo/t3code/commit/b403ca318342b0a4b19d0b9def19e5bffa62b3d0?format=markdown)

[Source at this commit](https://git.cafe/flambo/t3code/tree/fc9660f238f6270140914f2564dbc6410267e789?format=markdown)
