Skip to content

feat(settings): add Cheaper Inference provider preset - #196

Merged
Blankll merged 1 commit into
geek-fun:masterfrom
aiapienthusiast:cheaperinference-provider
Oct 28, 2026
Merged

Blankll merged 1 commit into
geek-fun:masterfrom
aiapienthusiast:cheaperinference-provider

Conversation

@aiapienthusiast

Copy link
Copy Markdown
Contributor

Adds Cheaper Inference as a provider preset in AI settings.
Cheaper Inference is an OpenAI-compatible LLM gateway.
One API key gives access to models from several labs.
It uses the same pattern as #157 (Requesty).
It uses the existing openai path.
There is no backend change.

Changes
  • src/views/setting/provider-form-dialog.vue: cheaper-inference preset (apiCompatibility: 'openai', base URL https://api.cheaperinference.com/v1), after API Route.
  • CHANGELOG.md: one line under Unreleased / Added.
How to test
  1. Open Settings > AI > Add provider.
  2. Select Cheaper Inference.
  3. Paste an API key from https://cheaperinference.com.
  4. Sync models.
  5. Chat with gpt-5.4-mini.
Checks
  • npx eslint src/views/setting/provider-form-dialog.vue: pass.
  • npx vue-tsc --noEmit: pass.
  • npx jest tests/components/AiSettings.test.ts tests/store/appStore.test.ts src/__tests__/i18nKeys.test.ts: pass (53 tests).

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@eb7042a). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #196   +/-   ##
=========================================
  Coverage          ?   60.35%           
=========================================
  Files             ?       82           
  Lines             ?     7874           
  Branches          ?     1790           
=========================================
  Hits              ?     4752           
  Misses            ?     2638           
  Partials          ?      484           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Blankll
Blankll merged commit 033a437 into geek-fun:master Oct 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants