Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

Merge branch 'release/v3.8.0' into fix/combo-context-length-auto-calc

diegosouzapwa14802fe2cae
diff --cc .agents/workflows/review-prs.md
index ea985ef5f2,73e547d40d..97b6dc3f83
--- a/.agents/workflows/review-prs.md
+++ b/.agents/workflows/review-prs.md
@@@ -199,10 -199,11 +199,11 @@@ Perform a **global impact assessment**
git push
```
- - **Fallback (For external forks without maintainer edit access or severe conflicts):**
- If `git push` fails because the PR comes from an external fork without write access, or there are extreme conflicts, you MUST NOT CLOSE THE PR.
- Instead, use `git cherry-pick`, or a reverse merge to bring their changes into the release branch, fix the issues locally, and commit them. Ensure you preserve the contributor's authorship (`git commit --author="Contributor Name <email>"` if creating new commits).
- Once you have integrated their work into the release branch, DO NOT close their PR. Instead, leave it open or try to merge it using the CLI if possible. Under NO CIRCUMSTANCES should you use `gh pr close`. Leave it open so the contributor retains credit.
+ - **Fallback (ONLY for external forks without maintainer edit access):**
- Using `cherry-pick` instead of fixing the contributor's PR directly is a **LAST RESORT**. You MUST ALWAYS attempt to `git push` your fixes to their branch first.
++ Using `cherry-pick` instead of fixing the contributor's PR directly is a **LAST RESORT**. You MUST ALWAYS attempt to `git push` your fixes to their branch first.
+ **ONLY if `git push` explicitly fails with a permission/access error** (meaning the contributor unchecked "Allow edits from maintainers" or it's a locked fork), you may use `git cherry-pick` to bring their changes into the release branch and fix the issues locally.
+ Even then, ensure you preserve the contributor's authorship (`git commit --author="Contributor Name <email>"` if creating new commits).
+ Once you have integrated their work into the release branch, **DO NOT close their PR**. Leave it open so the contributor retains credit. Under NO CIRCUMSTANCES should you use `gh pr close`.
- Run the project's test suite locally to verify nothing breaks:
// turbo
diff --cc .github/workflows/claude-code-review.yml
index 0000000000,b5e8cfd4dc..a639c3fa36
mode 000000,100644..100644
--- a/.github/workflows/claude-code-review.yml
+++ b/.github/workflows/claude-code-review.yml
@@@ -1,0 -1,44 +1,43 @@@
+ name: Claude Code Review
+
+ on:
+ pull_request:
+ types: [opened, synchronize, ready_for_review, reopened]
+ # Optional: Only run on specific file changes
+ # paths:
+ # - "src/**/*.ts"
+ # - "src/**/*.tsx"
+ # - "src/**/*.js"
+ # - "src/**/*.jsx"
+
+ jobs:
+ claude-review:
+ # Optional: Filter by PR author
+ # if: |
+ # github.event.pull_request.user.login == 'external-contributor' ||
+ # github.event.pull_request.user.login == 'new-developer' ||
+ # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
+
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: read
+ issues: read
+ id-token: write
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 1
+
+ - name: Run Claude Code Review
+ id: claude-review
+ uses: anthropics/claude-code-action@v1
+ with:
+ claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
- plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
- plugins: 'code-review@claude-code-plugins'
- prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
++ plugin_marketplaces: "https://github.com/anthropics/claude-code.git"
++ plugins: "code-review@claude-code-plugins"
++ prompt: "/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}"
+ # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
+ # or https://code.claude.com/docs/en/cli-reference for available options
-
diff --cc .github/workflows/claude.yml
index 0000000000,6b15fac7af..eb9719ecca
mode 000000,100644..100644
--- a/.github/workflows/claude.yml
+++ b/.github/workflows/claude.yml
@@@ -1,0 -1,50 +1,49 @@@
+ name: Claude Code
+
+ on:
+ issue_comment:
+ types: [created]
+ pull_request_review_comment:
+ types: [created]
+ issues:
+ types: [opened, assigned]
+ pull_request_review:
+ types: [submitted]
+
+ jobs:
+ claude:
+ if: |
+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
+ (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
+ (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
+ (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: read
+ issues: read
+ id-token: write
+ actions: read # Required for Claude to read CI results on PRs
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 1
+
+ - name: Run Claude Code
+ id: claude
+ uses: anthropics/claude-code-action@v1
+ with:
+ claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
+
+ # This is an optional setting that allows Claude to read CI results on PRs
+ additional_permissions: |
+ actions: read
+
+ # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
+ # prompt: 'Update the pull request description to include a summary of changes.'
+
+ # Optional: Add claude_args to customize behavior and configuration
+ # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
+ # or https://code.claude.com/docs/en/cli-reference for available options
+ # claude_args: '--allowed-tools Bash(gh pr *)'
-
diff --cc .issues/feat-batch-delete-provider-accounts.md
index 0000000000,fe84a123c8..94c7910c4c
mode 000000,100644..100644
--- a/.issues/feat-batch-delete-provider-accounts.md
+++ b/.issues/feat-batch-delete-provider-accounts.md
@@@ -1,0 -1,328 +1,332 @@@
+ # Feature Proposal: Batch Delete Provider Accounts
+
+ ## Summary
+
+ Add **batch delete** functionality for provider accounts (connections) in the provider detail page (`/dashboard/providers/[id]`). Users select multiple accounts via checkboxes and delete them in a single action, replacing the current one-by-one delete workflow.
+
+ ## Problem Statement
+
+ Users managing multiple provider accounts (e.g., 20+ API keys or OAuth connections) have to delete accounts individually. Each deletion requires:
+
+ 1. Finding the account
+ 2. Clicking the delete button
+ 3. Confirming via browser `confirm()` dialog
+ 4. Waiting for the API call
+ 5. Repeating for every account
+
+ This is:
++
+ - **Time-consuming**: O(n) confirm dialogs and API calls for n accounts
+ - **Error-prone**: Easy to accidentally click the wrong account
+ - **Tedious**: No way to quickly clean up stale or duplicate accounts
+
+ ## Solution
+
+ Add a checkbox-based selection UI to the provider connections list:
+
+ ```
+ ┌────────────────────────────────────────────────────────────────┐
+ │ [x] Account #1 (kiro-prod) [Delete Selected (3)] │
+ │ [x] Account #2 (kiro-staging) │
+ │ [ ] Account #3 (kiro-backup) │
+ └────────────────────────────────────────────────────────────────┘
+ ```
+
+ ## Detailed PR Specification
+
+ ### Files to Modify
+
-| File | Change |
-|------|--------|
-| `src/app/(dashboard)/dashboard/providers/[id]/page.tsx` | Add batch delete state, select-all + per-row checkboxes, batch delete handler |
-| `src/app/api/providers/route.ts` | Add `DELETE /api/providers` with `POST` body `ids: string[]` for batch delete |
-| `src/lib/db/providers.ts` | Add `deleteProviderConnections(ids: string[])` batch DB function |
-| `src/i18n/messages/en.json` | Add i18n keys: `batchDeleteSelected`, `batchDeleteConfirm`, `batchDeleteSuccess` |
-| `src/i18n/messages/*.json` | Add i18n keys to all locale files |
-| `tests/unit/db-providers-crud.test.ts` | Add unit tests for batch delete DB function |
-| `tests/integration/api-routes-critical.test.ts` | Add integration test for batch delete API endpoint |
++| File | Change |
++| ------------------------------------------------------- | -------------------------------------------------------------------------------- |
++| `src/app/(dashboard)/dashboard/providers/[id]/page.tsx` | Add batch delete state, select-all + per-row checkboxes, batch delete handler |
++| `src/app/api/providers/route.ts` | Add `DELETE /api/providers` with `POST` body `ids: string[]` for batch delete |
++| `src/lib/db/providers.ts` | Add `deleteProviderConnections(ids: string[])` batch DB function |
++| `src/i18n/messages/en.json` | Add i18n keys: `batchDeleteSelected`, `batchDeleteConfirm`, `batchDeleteSuccess` |
++| `src/i18n/messages/*.json` | Add i18n keys to all locale files |
++| `tests/unit/db-providers-crud.test.ts` | Add unit tests for batch delete DB function |
++| `tests/integration/api-routes-critical.test.ts` | Add integration test for batch delete API endpoint |
+
+ ### 1. DB Layer (`src/lib/db/providers.ts`)
+
+ ```typescript
+ export async function deleteProviderConnections(ids: string[]): Promise<number> {
+ const db = getDbInstance() as unknown as DbLike;
+ if (ids.length === 0) return 0;
+
+ // Delete quota snapshots for each connection first
+ const deleteSnapshots = db.prepare("DELETE FROM quota_snapshots WHERE connection_id = ?");
+ for (const id of ids) {
+ deleteSnapshots.run(id);
+ }
+
+ // Batch delete connections
+ const placeholders = ids.map(() => "?").join(",");
- const result = db.prepare(
- `DELETE FROM provider_connections WHERE id IN (${placeholders})`
- ).run(...ids);
++ const result = db
++ .prepare(`DELETE FROM provider_connections WHERE id IN (${placeholders})`)
++ .run(...ids);
+
+ backupDbFile("pre-write");
+ invalidateDbCache("connections");
+ return result.changes ?? 0;
+ }
+ ```
+
+ ### 2. API Route (`src/app/api/providers/route.ts`)
+
+ Add a new route handler for batch delete. The existing `/api/providers/[id]` only handles single-id operations. The main providers route file (`/api/providers/route.ts`) should be extended:
+
+ ```typescript
+ // DELETE /api/providers — Batch delete connections
+ // Body: { ids: string[] }
+ export async function DELETE(request: Request) {
+ const authError = await requireManagementAuth(request);
+ if (authError) return authError;
+
+ let body: { ids?: string[] };
+ try {
+ body = await request.json();
+ } catch {
+ return NextResponse.json({ error: "Invalid JSON body" }, { status: 400 });
+ }
+
+ if (!Array.isArray(body.ids) || body.ids.length === 0) {
+ return NextResponse.json(
+ { error: "ids must be a non-empty array of connection IDs" },
+ { status: 400 }
+ );
+ }
+
+ if (body.ids.length > 100) {
+ return NextResponse.json(
+ { error: "Cannot delete more than 100 connections at once" },
+ { status: 400 }
+ );
+ }
+
+ try {
+ const deleted = await deleteProviderConnections(body.ids);
+ await syncToCloudIfEnabled();
+
+ logAuditEvent({
+ action: "provider.credentials.batch_revoked",
+ actor: "admin",
+ resourceType: "provider_credentials",
+ status: "success",
+ metadata: { count: deleted, ids: body.ids },
+ });
+
+ return NextResponse.json({ message: `Deleted ${deleted} connection(s)`, deleted });
+ } catch (error) {
+ console.log("Error batch deleting connections:", error);
+ return NextResponse.json({ error: "Failed to batch delete connections" }, { status: 500 });
+ }
+ }
+ ```
+
+ ### 3. UI Layer (`src/app/(dashboard)/dashboard/providers/[id]/page.tsx`)
+
+ #### New State Variables
+
+ ```typescript
+ // Batch selection state
+ const [selectedIds, setSelectedIds] = useState<Set<string>>(new Set());
+ const [batchDeleting, setBatchDeleting] = useState(false);
+ ```
+
+ #### New Functions
+
+ ```typescript
+ const handleToggleSelectAll = useCallback(() => {
+ setSelectedIds((prev) =>
+ prev.size === connections.length ? new Set() : new Set(connections.map((c) => c.id))
+ );
+ }, [connections]);
+
+ const handleToggleSelectOne = useCallback((id: string) => {
+ setSelectedIds((prev) => {
+ const next = new Set(prev);
+ if (next.has(id)) next.delete(id);
+ else next.add(id);
+ return next;
+ });
+ }, []);
+
+ const handleBatchDelete = async () => {
+ if (selectedIds.size === 0) return;
+ if (!confirm(t("batchDeleteConfirm", { count: selectedIds.size }))) return;
+
+ setBatchDeleting(true);
+ try {
+ const res = await fetch("/api/providers", {
+ method: "DELETE",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ ids: Array.from(selectedIds) }),
+ });
+
+ if (res.ok) {
+ setSelectedIds(new Set());
+ await fetchConnections();
+ notify.success(t("batchDeleteSuccess", { count: selectedIds.size }));
+ } else {
+ const data = await res.json();
+ notify.error(data.error || "Batch delete failed");
+ }
+ } catch (error) {
+ notify.error("Network error during batch delete");
+ } finally {
+ setBatchDeleting(false);
+ }
+ };
+ ```
+
+ #### Per-Row Checkbox (inside `ConnectionRow`)
+
+ Add a checkbox as the first element of each row:
+
+ ```tsx
+ // In ConnectionRow interface, add:
+ interface ConnectionRowProps {
+ isSelected?: boolean;
+ onToggleSelect?: () => void;
+ // ... existing props
+ }
+
+ // In ConnectionRow render, before priority arrows:
+ <div className="flex items-center gap-3 flex-1 min-w-0">
+ <input
+ type="checkbox"
+ checked={isSelected}
+ onChange={onToggleSelect}
+ className="w-4 h-4 rounded border-border text-primary focus:ring-primary/30 cursor-pointer"
+ />
+ {/* Priority arrows */}
+ ...
+ ```
+
+ #### Header Row (above connections list)
+
+ ```tsx
+ <div className="flex items-center justify-between px-3 py-2 bg-muted/50 rounded-t-lg border border-b-0 border-border">
+ <label className="flex items-center gap-2 cursor-pointer select-none">
+ <input
+ type="checkbox"
+ checked={selectedIds.size === connections.length && connections.length > 0}
- ref={(el) => { if (el) el.indeterminate = selectedIds.size > 0 && selectedIds.size < connections.length; }}
++ ref={(el) => {
++ if (el) el.indeterminate = selectedIds.size > 0 && selectedIds.size < connections.length;
++ }}
+ onChange={handleToggleSelectAll}
+ className="w-4 h-4 rounded border-border text-primary focus:ring-primary/30"
+ />
+ <span className="text-sm font-medium text-text-muted">
- {selectedIds.size > 0
- ? `${selectedIds.size} selected`
- : `${connections.length} accounts`}
++ {selectedIds.size > 0 ? `${selectedIds.size} selected` : `${connections.length} accounts`}
+ </span>
+ </label>
+
+ {selectedIds.size > 0 && (
+ <Button
+ variant="destructive"
+ size="sm"
+ icon="delete"
+ loading={batchDeleting}
+ onClick={handleBatchDelete}
+ >
+ {t("batchDeleteSelected", { count: selectedIds.size })}
+ </Button>
+ )}
+ </div>
+ ```
+
+ ### 4. i18n Keys (to add to all locale files)
+
+ ```json
+ {
+ "batchDeleteSelected": "Delete Selected ({count})",
+ "batchDeleteConfirm": "Delete {count} connection(s)? This action cannot be undone.",
+ "batchDeleteSuccess": "Deleted {count} connection(s)"
+ }
+ ```
+
+ ### 5. Testing
+
+ #### Unit Test (`tests/unit/db-providers-crud.test.ts`)
+
+ ```typescript
+ test("deleteProviderConnections deletes multiple connections", async () => {
+ const ids = [
- (await createProviderConnection({ provider: "openai", name: "test-1", authType: "apikey" })).id!,
- (await createProviderConnection({ provider: "openai", name: "test-2", authType: "apikey" })).id!,
++ (await createProviderConnection({ provider: "openai", name: "test-1", authType: "apikey" }))
++ .id!,
++ (await createProviderConnection({ provider: "openai", name: "test-2", authType: "apikey" }))
++ .id!,
+ ];
+
+ const deleted = await deleteProviderConnections(ids);
+ expect(deleted).toBe(2);
+
+ for (const id of ids) {
+ const conn = await getProviderConnectionById(id);
+ expect(conn).toBeNull();
+ }
+ });
+
+ test("deleteProviderConnections with empty array returns 0", async () => {
+ const deleted = await deleteProviderConnections([]);
+ expect(deleted).toBe(0);
+ });
+ ```
+
+ #### Integration Test (`tests/integration/api-routes-critical.test.ts`)
+
+ ```typescript
+ test("DELETE /api/providers — batch delete", async () => {
+ const ids = [conn1.id, conn2.id];
+ const res = await fetch("http://localhost:20128/api/providers", {
+ method: "DELETE",
- headers: { "Content-Type": "application/json", "Authorization": `Bearer ${apiKey}` },
++ headers: { "Content-Type": "application/json", Authorization: `Bearer ${apiKey}` },
+ body: JSON.stringify({ ids }),
+ });
+
+ expect(res.status).toBe(200);
+ const data = await res.json();
+ expect(data.deleted).toBe(2);
+ });
+ ```
+
+ ### UX Details
+
+ 1. **Indeterminate select-all**: When some (but not all) rows are selected, the select-all checkbox shows as indeterminate (dash)
+ 2. **Confirmation**: Shows `confirm()` with count ("Delete 3 connections?")
+ 3. **Optimistic update**: Immediately clears selected IDs and removes deleted connections from list on success
+ 4. **Error handling**: Shows error notification; connections remain in list if delete fails
+ 5. **Loading state**: Button shows spinner during delete; row checkboxes disabled
+ 6. **Empty state**: No "Delete Selected" button when nothing selected
+ 7. **Audit logging**: Each batch delete logged as `provider.credentials.batch_revoked`
+
+ ### Non-Goals
+
+ - Bulk enable/disable (separate feature)
+ - Moving selected accounts (separate feature)
+ - Batch rename/edit (separate feature)
+ - Deleting across different providers (each provider page operates independently)
+
+ ### Risks & Mitigations
+
-| Risk | Mitigation |
-|------|------------|
-| User accidentally deletes wrong accounts | Require confirmation dialog with count |
-| Too many connections selected | Cap at 100 per batch; show error if exceeded |
-| Partial failure on batch delete | DB runs in transaction; all-or-nothing semantics |
-| Performance with large selections | Batch SQL with `IN (...)` clause is efficient up to 100 |
++| Risk | Mitigation |
++| ---------------------------------------- | ------------------------------------------------------- |
++| User accidentally deletes wrong accounts | Require confirmation dialog with count |
++| Too many connections selected | Cap at 100 per batch; show error if exceeded |
++| Partial failure on batch delete | DB runs in transaction; all-or-nothing semantics |
++| Performance with large selections | Batch SQL with `IN (...)` clause is efficient up to 100 |
+
+ ### Coverage
+
+ Per repository rules, this change affects production code in `src/` → automated tests required:
++
+ - Unit test for `deleteProviderConnections()` in `tests/unit/db-providers-crud.test.ts`
+ - Integration test for `DELETE /api/providers` batch endpoint in `tests/integration/api-routes-critical.test.ts`
+ - Run `npm run test:coverage` — all 4 metrics must meet 60% minimum
+
+ ---
+
+ ## Related Issues
+
+ - Closes this issue on merge
diff --cc src/i18n/messages/pl.json
index 173b306384,05ac37dde6..0b88cb6d56
--- a/src/i18n/messages/pl.json
+++ b/src/i18n/messages/pl.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/pt-BR.json
index 0c6357e7a5,948ecf47c1..5fe2fe07e5
--- a/src/i18n/messages/pt-BR.json
+++ b/src/i18n/messages/pt-BR.json
@@@ -4785,5 -4828,12 +4828,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/pt.json
index 5d04d4603e,ebe95cadcb..1bc73cfd73
--- a/src/i18n/messages/pt.json
+++ b/src/i18n/messages/pt.json
@@@ -4639,5 -4682,12 +4682,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/ro.json
index 9b7f8fee84,5c510d65e7..e378df33b8
--- a/src/i18n/messages/ro.json
+++ b/src/i18n/messages/ro.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/ru.json
index 6061dda7d7,f5e7c2c66c..fd077d2788
--- a/src/i18n/messages/ru.json
+++ b/src/i18n/messages/ru.json
@@@ -4631,5 -4674,12 +4674,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/sk.json
index 7355157afa,5a0666bf2f..439f6cf003
--- a/src/i18n/messages/sk.json
+++ b/src/i18n/messages/sk.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/sv.json
index a925c89a80,4819a48984..512b429248
--- a/src/i18n/messages/sv.json
+++ b/src/i18n/messages/sv.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/sw.json
index 68de27273f,001d49628d..93d1f02fc4
--- a/src/i18n/messages/sw.json
+++ b/src/i18n/messages/sw.json
@@@ -4900,5 -4943,12 +4943,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/ta.json
index d63405fb2a,da7cff7a34..5acf944cd4
--- a/src/i18n/messages/ta.json
+++ b/src/i18n/messages/ta.json
@@@ -4900,5 -4943,12 +4943,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/te.json
index e19a68b3eb,834dfe46e8..a178d85111
--- a/src/i18n/messages/te.json
+++ b/src/i18n/messages/te.json
@@@ -4900,5 -4943,12 +4943,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/th.json
index 9a1535082f,8776c4f00a..6f55813dad
--- a/src/i18n/messages/th.json
+++ b/src/i18n/messages/th.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/tr.json
index 9a0908adf5,8bc0fb18d9..c9ce447a70
--- a/src/i18n/messages/tr.json
+++ b/src/i18n/messages/tr.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/uk-UA.json
index a510185d5c,f8d744939d..b81cd285b0
--- a/src/i18n/messages/uk-UA.json
+++ b/src/i18n/messages/uk-UA.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/ur.json
index 7a5f38120a,e2844cebaf..25ce74b47f
--- a/src/i18n/messages/ur.json
+++ b/src/i18n/messages/ur.json
@@@ -4900,5 -4943,12 +4943,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}
diff --cc src/i18n/messages/vi.json
index 679a8ac539,221a85193e..526e9892c0
--- a/src/i18n/messages/vi.json
+++ b/src/i18n/messages/vi.json
@@@ -4607,5 -4650,12 +4650,12 @@@
"noProxyLogs": "No proxy logs yet. Configure proxies and make API calls to see them here.",
"noMatchingLogs": "No logs match the current filters.",
"tlsFingerprint": "Chrome 124 TLS Fingerprint"
+ },
+ "agentFeatures": {
+ "agentFeaturesContextLength": "Context length",
+ "agentFeaturesContextLengthPlaceholder": "e.g. 128000",
+ "agentFeaturesContextLengthHint": "Defines the context window for this combo in /v1/models.",
+ "agentFeaturesContextLengthErrorInteger": "Context length must be a valid integer",
+ "agentFeaturesContextLengthErrorRange": "Context length must be between 1000 and 2000000"
}
-}
+}