Repository navigation
Conversation
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.
Adds NagaAI, an OpenAI-compatible gateway, as provider
nagaai. Crush users can then pick Claude Sonnet 5.5, GPT-6.1 Sol and MiniMax M3.1 Flash on NagaAI withNAGA_API_KEY. I work on NagaAI.responsesathttps://api.naga.ac/v1, like Cortecs. The endpoint is stateless; Crush already sendsstore: falsewith the full history each turn.GET /v1/models. NagaAI publishes no output cap, sodefault_max_tokensmatches the Vercel entries for the same models; each one was accepted in the live check below.toggleablewith low, medium and high, default medium.Checked live on 2026-11-23 (08:46–08:52 UTC) with the request Crush sends:
POST /v1/responseswithstore: false,reasoning.effort: medium,max_output_tokensset to the model'sdefault_max_tokens, one function tool, and for GPT-6.1 Solreasoning.summary: autowithinclude: ["reasoning.encrypted_content"]. Each model, streamed and not, called the tool, got the result back with the full history and finished its answer: 12 of 12 requests returned 200.main(ff9d094):go test ./...passesgofumpt -l .(v0.10.0) andgo run ./cmd/formatleave no diffgolangci-lint run ./...(v2.13.1) 0 issuesPrices follow the market, so I'll keep this file current with follow-up PRs. If you'd rather have a
cmd/nagaaigenerator reading/v1/models, I can add one.CONTRIBUTING.md.