Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #204 +/- ##
=========================================
Coverage ? 59.62%
=========================================
Files ? 90
Lines ? 9253
Branches ? 2193
=========================================
Hits ? 5517
Misses ? 3149
Partials ? 587 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
|
Hi @nicho810 pls solve the conflicts first |
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 cheapaimodel as a provider preset in AI settings.
cheapaimodel serves open and hosted models (DeepSeek, GLM, Kimi, Grok) behind an OpenAI-compatible Chat Completions API.
It follows the same pattern as #200 and #196.
It uses the existing
openaipath.There is no backend change.
Changes
src/views/setting/provider-form-dialog.vue:cheapaimodelpreset (apiCompatibility: 'openai', base URLhttps://api.cheapaimodel.ai/v1), after Runcrate.CHANGELOG.md: one line under Unreleased / Added.How to test
deepseek-v4-1-flash.Note:
kimi-k3only acceptstemperature0.6 or 1 andtop_p0.95; other values return 400.Checks
npx eslint src/views/setting/provider-form-dialog.vue: pass.npx vue-tsc --noEmit: pass.npx jest --ci: pass (62 suites, 861 tests).https://api.cheapaimodel.ai/v1(the same OpenAI-compatible endpoints theopenaipath calls):GET /modelslists the catalog, and a non-streaming plus a streamingPOST /chat/completionsreturned a reply (finish_reason: stop, stream ends with[DONE]) ondeepseek-v4-1-flash,glm-5.3,glm-5.3-flash,kimi-k3andgrok-4.7.data-studio-agentitself.Disclosure: I work on cheapaimodel.