Repository navigation
docs: add DotHoosh (داتهوش) provider page and icon - #15277
Alirezajalilii wants to merge 2 commits into
Conversation
| @@ -0,0 +1,92 @@ | |||
| --- | |||
| title: "Using DotHoosh with Kilo Code | DotHoosh" | |||
There was a problem hiding this comment.
SUGGESTION: Title suffix repeats the provider name
The title reads Using DotHoosh with Kilo Code | DotHoosh, so the brand appears twice and the title is only ~40 characters. Every other provider page uses the suffix for a searchable descriptor (e.g. | Unified AI Gateway, | Nebius Inference). Consider a descriptive suffix or dropping it, e.g. Using DotHoosh with Kilo Code | Iranian AI Gateway.
Code Review SummaryStatus: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (6 files)
The earlier title finding is resolved ( Fix these issues in Kilo Cloud Previous Review Summaries (2 snapshots, latest commit b5ef52e)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit b5ef52e)Status: No Issues Found | Recommendation: Merge The previous finding on Files Reviewed (1 file in incremental diff)
Previous review (commit 9d0eb2a)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (6 files)
Reviewed by deepseek-flash-latest · Input: 89.9K · Output: 19.9K · Cached: 2.9M Review guidance: REVIEW.md from base branch |
b5ef52e to
37c5bf9
Compare
| 2. Click **Show more providers** and select **DotHoosh**. | ||
| 3. Paste your API key and save. | ||
|
|
||
| The extension stores this in your `kilo.json` config file. You can also edit the config file directly — see the **CLI** tab for the file format. |
There was a problem hiding this comment.
WARNING: Credential storage path is inaccurate
The VS Code extension saves provider API keys with client.auth.set (packages/kilo-vscode/src/provider-actions.ts:328), which the server persists to auth.json under the Kilo data directory (packages/opencode/src/auth/index.ts:11), not kilo.json. The newer provider pages (Eden AI, GMI Cloud, DaoXE) already use the auth.json wording; matching it avoids sending users to the wrong file when they want to inspect or revoke the key.
|
|
||
| ## Select a DotHoosh Model | ||
|
|
||
| Once your key is configured, open the model picker and select any model tagged **DotHoosh**. Model IDs use the `dothoosh/<model>` format. Example models: |
There was a problem hiding this comment.
SUGGESTION: Provider selectability depends on the upstream catalog
The PR description says DotHoosh is being added to models.dev (anomalyco/models.dev#10604), and Kilo builds the provider and model picker from that catalog. Until the entry is live, this page and the index/nav entries point users at a provider they cannot select, and the new icon has no provider to attach to. Worth confirming the catalog entry is merged before this ships (as was done for Eden AI), or noting that DotHoosh appears after the next catalog refresh.
Issue
Fixes #15276
Context
DotHoosh (داتهوش) is an Iranian AI gateway billed in Toman from a prepaid wallet; one key serves Claude, GPT, Gemini, DeepSeek and Kimi. The catalog entry is being added upstream in models.dev (anomalyco/models.dev#10604), which Kilo reads, so this PR only adds the Kilo-side pieces: a docs page, the AI Providers index and nav entries (under AI Gateways), and the provider icon.
Implementation
packages/kilo-docs/pages/ai-providers/dothoosh.md: setup (DOTHOOSH_API_KEY), example models, text-only and Toman-pricing notes. Follows the nebius page's structure without the Kilo Cloud BYOK/Gateway sections.packages/kilo-docs/lib/nav/ai-providers.ts,pages/ai-providers/index.md: one entry each, under AI Gateways.packages/ui/src/assets/icons/provider/dothoosh.svg: the Persian wordmark as onecurrentColorpath in a 40×40 viewBox (path data untouched, wrapped in a transform).sprite.svgandtypes.tsregenerated by the icon spritesheet plugin (additions only).Screenshots / Video
N/A for the docs. The icon is a monochrome
currentColorwordmark; it renders like the other provider icons in the sprite.How to Test
Manual/local verification
packages/kilo-docs:vitest run22/22,tsc --noEmitclean.packages/ui:tsgo --noEmitclean,bun test src168/168.prettier --checkon the changed.md/.tsfiles;bun run check-kilocode-changepasses.Reviewer test steps
/docs/ai-providers/dothooshand the AI Providers index.dothooshappears in the provider icon sprite.Blocked checks and substitute verification
Checklist