litellm/litellm-rust/crates/gateway/AGENTS.md
Mateo Wang 3069a467d0
docs(agents): ban semicolons and colons in human-facing text (#45684)
* docs(agents): ban semicolons and colons in human-facing text

Tighten the writing rule so ";" and ":" are only allowed where the sentence would be nonsensical without them, rewrite the existing semicolons in AGENTS.md to follow it, and note that docs (litellm-docs) keep their trailing "."

* docs(agents): rewrite semicolons in nested AGENTS.md files

* docs(agents): hand-maintain the dashboard Next.js warning and sync e2e CONTRIBUTING lines

* docs(agents): point at the PR template path that exists

* docs(agents): restore the generated Next.js block in the dashboard AGENTS.md
2026-10-09 16:36:32 -07:00

655 B

  • Keep this crate a thin composition layer: mount endpoint routers and serve the supplied listener
  • Server lifecycle and shared inbound middleware belong here, including client authentication, rate limiting, and request logging
  • Endpoint paths, request handling, model resolution, and response encoding belong to the mounted crates. Provider execution belongs to the inference-<fmt> crates and llms
  • Inject shared state and infrastructure. Avoid global runtimes, duplicate client pools, and abstractions for hypothetical endpoint groups
  • Test mounting and server lifecycle through public HTTP behavior. Test endpoint semantics in the owning crate