# refactor\(web\): ChatView's draft machine routing lives in useDraftEnvironmentRouting · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/7483af891cd7a34bc9f3c661a49d3af59b42574b)

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

Visibility: public

Requested revision: 7483af891cd7a34bc9f3c661a49d3af59b42574b

Requested commit: 7483af891cd7a34bc9f3c661a49d3af59b42574b

Commit: 7483af891cd7a34bc9f3c661a49d3af59b42574b

Tree: 1fff9eddc3b9cad857adefa6d85fed5877032272

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(web): ChatView's draft machine routing lives in useDraftEnvironmentRouting

Automatic load balancing and the manual machine switch decide one thing,
which machine an unsent draft runs on, and shared ~180 lines of ChatView.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [08ca07f2b1229c4de2131e514c73b38577e9f3eb](https://git.cafe/pingdotgg/t3code/commit/08ca07f2b1229c4de2131e514c73b38577e9f3eb?format=markdown)

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