smg icon indicating copy to clipboard operation
smg copied to clipboard

Engine-agnostic LLM gateway in Rust. Full OpenAI & Anthropic API compatibility across vLLM, TRT-LLM, TokenSpeed, SGLang, OpenAI, Gemini & more. Industry-first gRPC pipeline, KV cache-aware routing, ch...

Results smg issues
Sort by recently updated
recently updated
newest added

## Description ### Problem `openai/responses/common.rs` had a hand-rolled `parse_sse_block` that duplicated SSE field-parsing logic and allocated a `Vec` per block to collect `data:` lines. ### Solution Reimplement `parse_sse_block` on top...

model-gateway
openai

## Description ### Problem The OpenAI responses tool-interception streaming path encoded every SSE event with `serde_json::to_string` + `format!("event: …\ndata: …")`; `forward_streaming_event` additionally built an intermediate `String` before framing — extra...

model-gateway
openai

## Description ### Problem Follow-up on this PR https://github.com/lightseekorg/smg/pull/1447 Major feat: String stop sequence support for MLX on all 6 pipeline/path combinations Minor fix: add the missing `matched_stop` field in...

tokenizer
grpc
protocols
model-gateway
needs-rebase
stale

## Summary Gateway/servicer side of the EPD line, 39 commits: - EPD request routing (Encode RPC + bootstrap_room injection, mirrors PD routing) - Pixel delivery lanes: NIXL pixel pull v2...

dependencies
grpc
multimodal
protocols
model-gateway

## Description ### Problem SGLang gRPC responses did not expose `reasoning_tokens` usage through SMG, even when SGLang itself was able to return reasoning token counts. The gRPC path also did...

dependencies
grpc
protocols
model-gateway

## Description ### Problem The `Glm45Parser` is specific to GLM-4.5 in name but has been used for GLM-4.7 and confirmed compatible with GLM-5/GLM-5.1 (all use ``/`` format). Every new GLM...

documentation
reasoning-parser
needs-rebase
stale

## Description ### Problem E2E MCP tool-calling tests (e2e_test/responses/test_tools_call.py) were flaky in CI: sometimes Brave/DeepWiki MCP worked, sometimes the model returned only reasoning + message with no mcp_list_tools or mcp_call....

mcp
needs-rebase
stale

## Description ### Problem The worker registry keeps a per-worker mutation-lock map (`worker_mutation_locks`) to serialize register/replace/remove/status mutations for a given worker id. Three mutation methods — `apply_if_revision`, `transition_status_inner`, `replace_inner` —...

model-gateway

## Description ### Problem `DecodeStream::step` appends every generated token to its internal `all_token_ids` buffer but never drains it. The two offsets (`prefix_offset`, `read_offset`) advance, yet the consumed tokens below `prefix_offset`...

documentation
tokenizer

## Description ### Problem SMG's Kubernetes service discovery (`model_gateway/src/service_discovery.rs`) is built directly on a raw `kube::runtime::watcher()` consumed through `.applied_objects()`. Because that gives a bare event stream with **no cached state**...

python-bindings
model-gateway