AutoGPT
AutoGPT copied to clipboard
feat(integrations): add CometAPI support with models and credentials
Changes ποΈ
Add CometAPI as a new LLM provider to AutoGPT Platform, following the existing OpenRouter integration pattern:
related issue: #10958
Checklist π
For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
- [x] Verified all 5 files modified correctly via Docker container inspection
- [x] Confirmed 58 COMETAPI references present in backend code
- [x] Validated Python imports:
ProviderName.COMETAPIsuccessfully loads - [x] Backend health check passes:
{"status":"healthy"} - [x] All 27 models defined with correct metadata (context windows, max tokens)
For configuration changes:
- [x]
.env.defaultis updated or already compatible with my changes - [x]
docker-compose.ymlis updated or already compatible with my changes - [x] Configuration changes:
- Added
COMETAPI_KEYenvironment variable support
- Added
This PR targets the master branch but does not come from dev or a hotfix/* branch.
Automatically setting the base branch to dev.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
[!NOTE]
Other AI code review bot(s) detected
CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.
β¨ Finishing touches
π§ͺ Generate unit tests (beta)
- [ ] Create PR with unit tests
- [ ] Post copyable unit tests in a comment
Comment @coderabbitai help to get the list of available commands and usage tips.
Deploy Preview for auto-gpt-docs canceled.
| Name | Link |
|---|---|
| Latest commit | a8eea136a9579f3f9c6584275173c84408398457 |
| Latest deploy log | https://app.netlify.com/projects/auto-gpt-docs/deploys/68e741841573c000082eea0c |
PR Reviewer Guide π
Here are some key observations to aid the review process:
| β±οΈΒ Estimated effort to review: 3 π΅π΅π΅βͺβͺ |
| π§ͺΒ No relevant tests |
| πΒ No security concerns identified |
β‘Β Recommended focus areas for reviewPossible Issue
|
Here's the code health analysis summary for commits 59c27fe..ef3dae5. View details on DeepSourceΒ β.
Analysis Summary
| Analyzer | Status | Summary | Link |
|---|---|---|---|
| β Β Success | View CheckΒ β | ||
| β Β Success | β 2 occurences introduced π― 2 occurences resolved | View CheckΒ β |
π‘ If youβre a repository administrator, you can configure the quality gates from the settings.
Deploy Preview for auto-gpt-docs canceled.
| Name | Link |
|---|---|
| Latest commit | ef3dae51dd8ab8ce307c0116906796968d3266a9 |
| Latest deploy log | https://app.netlify.com/projects/auto-gpt-docs/deploys/68e746a4f3bff0000805e593 |
Deploy Preview for auto-gpt-docs-dev canceled.
| Name | Link |
|---|---|
| Latest commit | ef3dae51dd8ab8ce307c0116906796968d3266a9 |
| Latest deploy log | https://app.netlify.com/projects/auto-gpt-docs-dev/deploys/68e746a4dca876000799d22b |
Hey @Torantulino and @Bentlybro ,
Could you please help review this PR? If thereβs anything that needs me to make changes, feel free to contact me anytime.
Hey @TensorNull
Thank you so much for this PR, the implementation looks really solid. That said, weβre currently working on a new LLM picker UI that will make adding and managing providers like CometAPI much smoother. To keep things consistent and avoid merge conflicts later, weβre going to hold off on merging this PR for now.
Once the picker is in, this PR will be one of the first we merge in the next batch of provider updates. We really appreciate your patience and the effort you put into this.
Iβll be sure to post updates so you know when we plan to merge it!