All projects

Go backend experiment

LLM Gateway

What happens when an LLM request gets interrupted?

My role

Backend developer

Status

Local demo · mock provider

Built with

Go / SSE / Prometheus / Grafana / Docker

Project identity. The repository includes a local request playground.

Streaming a model response is only part of the job. The user can close the page, a request can be cancelled, or the server can shut down mid-response. I built this small Go project to test those cases.

What is implemented

An OpenAI-compatible endpoint, SSE streaming and request cancellation. The service handles graceful shutdown, and Prometheus and Grafana provide service metrics. A browser playground makes it possible to try requests locally.

Try it without a model account

Docker Compose runs the local setup. The playground uses a mock provider, so API keys and paid model calls are not required. The repository documents the current implementation and its limits.

This is a backend demonstration project. It is not presented as a production multi-provider routing platform.

Another projectMAYAKBusiness application

Contact

Have something similar in mind?

Send me the task and what you already have. We can work out the scope from there.

Message me on Upwork