Repository navigation
feat: add NanoGPT model provider - #13508
Open
SenatusSPQR1 wants to merge 1 commit into
Open
SenatusSPQR1 wants to merge 1 commit into
SenatusSPQR1 wants to merge 1 commit into
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
provider: nanogptwith the default API basehttps://nano-gpt.com/api/v1/. Reuse Continue's OpenAI-compatible provider and shared adapter for chat and streaming tool calls. Preserve exact NanoGPT model IDs.Default to DeepSeek V4.1 Flash (
deepseek/deepseek-v4.1-flash), the first starting recommendation on NanoGPT's live coding guide. Add GLM 5.3 Flash (z-ai/glm-5.3-flash), Kimi K2.6 (moonshotai/kimi-k2.6), Claude Sonnet 5.5 (anthropic/claude-sonnet-5.5) and Claude Opus 5.5 (anthropic/claude-opus-5.5) as suggested models. All five IDs, context limits and tool/image capabilities match the live catalog.Add model discovery, config schema entries and setup docs with a local-secret example. The docs note DeepSeek's limited-capacity beta status, Claude's automatic tool-choice requirement and Opus pricing. The coding guide does not rank coding quality.
AI Code Review
Maintainer AI review can run after submission.
Checklist
Screen recording or screenshot
The Add Chat model form was checked locally. It shows NanoGPT and DeepSeek V4.1 Flash. The screenshot was kept with the local validation evidence.
Tests
deepseek/deepseek-v4.1-flashreturned OK, [DONE] and finish_reason=stop. It used 12 input and 2 output tokens. No max_tokens or max_completion_tokens was sent. Retries were disabled.tarhas no default export. The new MDX compiles separately. The documented YAML, live model metadata, navigation and extension bundle validate.