Skip to content

Repository files navigation

LLM Gateway AI

An gateway that handles retries of chat with LLMs.

Architecture

flowchart LR
    Client["Client"]
    LLM["LLM Client"]
    Issue["Issue"]
    Retryable["Retryable Errors (rate limit / server issues)"]
    NonRetryable["Non-Retryable Issues (user issues)"]

    Client -->|"POST /client"| LLM
    LLM -->|response| Client
    LLM --> Issue
    Issue -->|"non-retriable / user issue"| NonRetryable
    Issue -->|"rate limit / server issue"| Retryable
    Retryable -->|"loop: retry"| LLM
Loading

Upcoming

  • fallback providers.
  • circuit breakers.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages