From c3dd7453bf28cefe6e5fae39c6cc421259e9d43d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 07:24:06 +0000 Subject: [PATCH 1/3] docs: sync gateway with merged PRs (2026-09-24) --- .../kilo-docs/pages/gateway/api-reference.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/packages/kilo-docs/pages/gateway/api-reference.md b/packages/kilo-docs/pages/gateway/api-reference.md index 30b1a4fc02f7..95fce734a892 100644 --- a/packages/kilo-docs/pages/gateway/api-reference.md +++ b/packages/kilo-docs/pages/gateway/api-reference.md @@ -279,6 +279,31 @@ curl -X POST "https://api.kilo.ai/api/fim/completions" \ FIM completions are limited to Mistral models (model IDs starting with `mistralai/`). BYOK is supported with the `codestral` key type. {% /callout %} +## TypeSafe System One + +Route TypeSafe System One requests through the gateway with your Kilo API key. This endpoint is not OpenAI-compatible; use it with the `@typesafe-ai/sdk` client, which points its base URL at the TypeSafe gateway path. + +``` +POST /typesafe/v1/systemone +``` + +The gateway forwards each request to OpenRouter using the platform credential, so no OpenRouter key is required. Requests are limited to the pinned `typesafe/jev-1.13` model, and an HTTP request that omits the model defaults to it; the bare `jev-1.13` SDK model ID is also accepted. Gateway authentication, rate limits, balance checks, and organization policy apply, and upstream usage is billed to your Kilo account. + +```typescript +import { TypeSafeClient } from "@typesafe-ai/sdk" + +const client = new TypeSafeClient({ + apiKey: process.env.KILO_API_KEY, + baseURL: "https://api.kilo.ai/api/gateway/typesafe", + defaultModel: "typesafe/jev-1.13", +}) + +const result = await client.systemOne({ + state: "I was charged twice for my subscription.", + questions: { refund: { type: "noul", instructions: "Is the customer asking for money back?" } }, +}) +``` + ## List models Retrieve the list of available models. From 5fdde29a215e8fb3987ae80067957a918ec39c2b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 25 Sep 2026 07:14:43 +0000 Subject: [PATCH 2/3] docs: sync gateway with merged PRs (2026-09-25) --- .../pages/ai-providers/openai-chatgpt-plus-pro.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md b/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md index e49b32e4b733..57f68c9a8c1a 100644 --- a/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md +++ b/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md @@ -59,6 +59,16 @@ When you are signed in with ChatGPT, Kilo reports your Codex quota alongside you Codex shows its plan and each usage window — for example, a five-hour and a weekly limit — with the percentage used and the reset time. The **Manage** link opens your Codex usage settings at chatgpt.com. If your ChatGPT sign-in has expired, you can reconnect from the provider settings. +When you are signed in on the web, the BYOK page and the personal usage page show a **View and manage your ChatGPT usage** notice with a **Manage usage** action while the account is connected. + +## Usage limits + +If ChatGPT reports a plan limit for a delegated request, the BYOK card shows **ChatGPT usage limit reached** and asks you to review your usage settings in ChatGPT. **Manage usage** opens your ChatGPT usage settings, and **Buy Kilo credits instead** uses Kilo credits for that model. A per-minute rate limit is handled as a retryable rate limit, not a plan limit. + +## Organization shared-services connection + +An organization owner or admin can connect a ChatGPT subscription as the organization's shared-services connection on the Organization BYOK page. The connection is stored separately from each member's own connection. Organization-level service requests use it first and fall back to the caller's own connection. + ## Tips and Notes - **Subscription Required:** You need an active ChatGPT Plus or Pro subscription. This provider won't work with free ChatGPT accounts. [Codex is included](https://developers.openai.com/codex/pricing/) in ChatGPT Plus, Pro, Business, Edu, and Enterprise plans. See [OpenAI's ChatGPT plans](https://chatgpt.com/pricing/) for more information. From 5003a7dd50c0e5d70330d506731e5aad1d411f91 Mon Sep 17 00:00:00 2001 From: Joshua Lambert <25085430+lambertjosh@users.noreply.github.com> Date: Sat, 26 Sep 2026 10:05:21 -0400 Subject: [PATCH 3/3] Apply suggestion from @lambertjosh --- .../pages/ai-providers/openai-chatgpt-plus-pro.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md b/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md index 57f68c9a8c1a..e49b32e4b733 100644 --- a/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md +++ b/packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md @@ -59,16 +59,6 @@ When you are signed in with ChatGPT, Kilo reports your Codex quota alongside you Codex shows its plan and each usage window — for example, a five-hour and a weekly limit — with the percentage used and the reset time. The **Manage** link opens your Codex usage settings at chatgpt.com. If your ChatGPT sign-in has expired, you can reconnect from the provider settings. -When you are signed in on the web, the BYOK page and the personal usage page show a **View and manage your ChatGPT usage** notice with a **Manage usage** action while the account is connected. - -## Usage limits - -If ChatGPT reports a plan limit for a delegated request, the BYOK card shows **ChatGPT usage limit reached** and asks you to review your usage settings in ChatGPT. **Manage usage** opens your ChatGPT usage settings, and **Buy Kilo credits instead** uses Kilo credits for that model. A per-minute rate limit is handled as a retryable rate limit, not a plan limit. - -## Organization shared-services connection - -An organization owner or admin can connect a ChatGPT subscription as the organization's shared-services connection on the Organization BYOK page. The connection is stored separately from each member's own connection. Organization-level service requests use it first and fall back to the caller's own connection. - ## Tips and Notes - **Subscription Required:** You need an active ChatGPT Plus or Pro subscription. This provider won't work with free ChatGPT accounts. [Codex is included](https://developers.openai.com/codex/pricing/) in ChatGPT Plus, Pro, Business, Edu, and Enterprise plans. See [OpenAI's ChatGPT plans](https://chatgpt.com/pricing/) for more information.