Skip to content

Conversation

@YC0101
Copy link
Contributor

@YC0101 YC0101 commented Jan 12, 2026

Fixes #3682

Description

  • Add AtlasCloudModel class inheriting from OpenAICompatibleModel
  • Add AtlasCloudConfig for model configuration
  • Register AtlasCloud in ModelFactory and ModelPlatformType
  • Add two basic model types: ATLASCLOUD_GPT_OSS_120B and ATLASCLOUD_GLM_4_7
  • Support string model names for all AtlasCloud models
  • Add is_atlascloud property to unified_model_type
  • Configure token limits (64,000 tokens) for AtlasCloud models
  • Add example code and unit tests
  • Update documentation with AtlasCloud usage guide

This integration allows users to access all AtlasCloud models via:

  • Predefined enum types (ATLASCLOUD_GPT_OSS_120B, ATLASCLOUD_GLM_4_7)
  • String model names for any AtlasCloud model (e.g., 'minimaxai/minimax-m2.1')

API endpoint: https://api.atlascloud.ai/v1
Environment variable: ATLASCLOUD_API_KEY

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I have read the CONTRIBUTION guide (required)
  • I have linked this PR to an issue using the Development section on the right sidebar or by adding Fixes #issue-number in the PR description (required)
  • I have checked if any dependencies need to be added or updated in pyproject.toml and uv lock
  • I have updated the tests accordingly (required for a bug fix or a new feature)
  • I have updated the documentation if needed:
  • I have added examples if this is a new feature

If you are unsure about any of these, don't hesitate to ask. We are here to help!

- Add AtlasCloudModel class inheriting from OpenAICompatibleModel
- Add AtlasCloudConfig for model configuration
- Register AtlasCloud in ModelFactory and ModelPlatformType
- Add two basic model types: ATLASCLOUD_GPT_OSS_120B and ATLASCLOUD_GLM_4_7
- Support string model names for all AtlasCloud models (362+ models)
- Add is_atlascloud property to unified_model_type
- Configure token limits (64,000 tokens) for AtlasCloud models
- Add example code and unit tests
- Update documentation with AtlasCloud usage guide

This integration allows users to access all AtlasCloud models via:
- Predefined enum types (ATLASCLOUD_GPT_OSS_120B, ATLASCLOUD_GLM_4_7)
- String model names for any AtlasCloud model (e.g., 'minimaxai/minimax-m2.1')

API endpoint: https://api.atlascloud.ai/v1
Environment variable: ATLASCLOUD_API_KEY
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 12, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@fengju0213
Copy link
Collaborator

thanks for your contribution!and sorry for late reply

Copy link
Collaborator

@fengju0213 fengju0213 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work! @YC0101 just submit some minor update to this pr directlt since it's a pr from fork repo

@fengju0213 fengju0213 added this to the Sprint 48 milestone Jan 19, 2026
Copy link
Collaborator

@waleedalzarooni waleedalzarooni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @YC0101,

One quick tweak otherwise looks great!

MINIMAX_M2 = "MiniMax-M2"
MINIMAX_M2_STABLE = "MiniMax-M2-Stable"

# AtlasCloud models
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing method definition
@property def is_atlascloud(self) -> bool: r"""Returns whether this type of models is served by AtlasCloud.""" return self in { ModelType.ATLASCLOUD_GPT_OSS_120B, ModelType.ATLASCLOUD_GLM_4_7, }
without this is_atlascloud returns true for every model
e.g. ModelType.GPT_40.is_atlascloud would return True when it is False

Copy link
Member

@Wendong-Fan Wendong-Fan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @YC0101 , @fengju0213 @waleedalzarooni , i will do enhance in another pr

@Wendong-Fan Wendong-Fan merged commit 1939775 into camel-ai:master Jan 19, 2026
6 of 12 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.

[Feature Request] Integrate AtlasCloud model platform

4 participants