feat(providers): add DaoXE#3793
Conversation
WalkthroughDaoXE is added as an OpenAI-compatible provider, including its model class, provider registration, configuration, menu entry, display name, compatibility handling, and SVG icon. ChangesDaoXE provider integration
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant ProviderIndex
participant DaoXEProvider
participant DaoXEModel
ProviderIndex->>DaoXEProvider: register provider definition
DaoXEProvider->>DaoXEModel: create with API, model, and generation settings
DaoXEModel-->>DaoXEProvider: return configured OpenAI-compatible model
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Quick maintainer notes:
Happy to rebase or tweak icons/labels if review feedback lands. |
Summary
https://daoxe.com/v1as the default API base URL/modelsendpoint instead of shipping a static list that may become staleDaoXE uses the existing
OpenAICompatibleabstraction, so this change adds no dependency and does not alter any existing provider.Validation
electron-vite buildtsc --noEmitafter the normal route generation stephttps://daoxe.com/v1/models: structured JSON401, as expected without credentialsNo API key was used and no billable generation request was made.
Contributor Agreement
By submitting this Pull Request, I confirm that I have read and agree to the following terms:
I agree to contribute all code submitted in this PR to the open-source community edition licensed under GPLv3 and the proprietary official edition without compensation.
I grant the official edition development team the rights to freely use, modify, and distribute this code, including for commercial purposes.
I confirm that this code is my original work, or I have obtained the appropriate authorization from the copyright holder to submit this code under these terms.
I understand that the submitted code will be publicly released under the GPLv3 license, and may also be used in the proprietary official edition.
I have read and agree with the above statement.