Finally, the code for the web UI client used in the Moshi demo is provided in the client/ directory. If you want to fine tune Moshi, head out to kyutai-labs/moshi ...
So we create a new HttpAgent every time. That feels wrong because the agent is effectively stateless for our use case; we only need different headers per request. We’d prefer to construct one agent (e ...