G9AIAssistant.Gateway
1.3.3
See the version list below for details.
dotnet add package G9AIAssistant.Gateway --version 1.3.3
NuGet\Install-Package G9AIAssistant.Gateway -Version 1.3.3
<PackageReference Include="G9AIAssistant.Gateway" Version="1.3.3" />
<PackageVersion Include="G9AIAssistant.Gateway" Version="1.3.3" />
<PackageReference Include="G9AIAssistant.Gateway" />
paket add G9AIAssistant.Gateway --version 1.3.3
#r "nuget: G9AIAssistant.Gateway, 1.3.3"
#:package G9AIAssistant.Gateway@1.3.3
#addin nuget:?package=G9AIAssistant.Gateway&version=1.3.3
#tool nuget:?package=G9AIAssistant.Gateway&version=1.3.3
G9AIAssistant.Gateway
An OpenAI-compatible AI gateway for the G9 AI assistant: virtual keys (hash only), aliases, a ladder of backends with failover by error kind and load spreading, four concurrency caps with a priority queue, named sessions in a table, usage and limits per key (and per user on whose behalf), OpenAI-shaped errors, optional guards, a request log, and a compatibility profile that renames everything on the wire.
builder.Services.AddG9AssistantGateway(g =>
{
g.Backends.Add(sp => new HttpBackend("openai", new Uri("https://api.openai.com/v1"), ct => ValueTask.FromResult(key), outbound));
g.Options.Aliases["fast"] = "gpt-x-mini";
});
app.MapG9AssistantGateway("/v1");
Entry points: models, chat/completions, responses, messages, embeddings, audio/transcriptions,
images/generations, usage, limits; each can be switched off. Stages can be replaced, added or removed.
A standalone host is in samples/GatewayHost.
Part of the G9 AI assistant library. Documentation: see the guides that ship with the library.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- G9AIAssistant.Core (>= 1.3.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.0 | 43 | 12/2/2026 |
| 1.3.3 | 107 | 11/29/2026 |
| 1.3.2 | 99 | 11/28/2026 |
| 1.3.1 | 106 | 11/25/2026 |
| 1.3.0 | 92 | 11/25/2026 |
| 1.2.3 | 113 | 11/19/2026 |
| 1.2.2 | 89 | 11/19/2026 |
| 1.2.1 | 89 | 11/19/2026 |
| 1.2.0 | 91 | 11/19/2026 |
| 1.1.1 | 91 | 11/19/2026 |
| 1.1.0 | 111 | 11/15/2026 |
| 1.0.25 | 97 | 11/15/2026 |
| 1.0.24 | 96 | 11/14/2026 |
| 1.0.23 | 101 | 11/14/2026 |
| 1.0.22 | 98 | 11/14/2026 |
| 1.0.21 | 90 | 11/14/2026 |
| 1.0.20 | 100 | 11/14/2026 |
| 1.0.19 | 89 | 11/13/2026 |
| 1.0.18 | 91 | 11/13/2026 |
| 1.0.17 | 97 | 11/13/2026 |