Skip to content

Add Atlas Cloud provider example#72

Open
binyangzhu000-sudo wants to merge 1 commit into
wanxingai:mainfrom
binyangzhu000-sudo:codex/atlas-cloud-example
Open

Add Atlas Cloud provider example#72
binyangzhu000-sudo wants to merge 1 commit into
wanxingai:mainfrom
binyangzhu000-sudo:codex/atlas-cloud-example

Conversation

@binyangzhu000-sudo

@binyangzhu000-sudo binyangzhu000-sudo commented Jul 7, 2026

Copy link
Copy Markdown

Summary

  • document Atlas Cloud as an OpenAI-compatible provider in the model provider guide
  • add a runnable example that reads ATLASCLOUD_API_KEY and optional model/base URL overrides from the environment

Compatibility

  • Existing agent.run("hello") behavior is unchanged, or the change is documented.
  • Existing stream=True behavior is unchanged, or the change is documented.

Tests

  • /Users/zby/.local/bin/python3.11 -m compileall -q LightAgent example/12.atlas_cloud.py
  • PYTHONPATH=. /tmp/atlas-work-20260707/lightagent-venv/bin/python -m pytest -q tests/test_v065_core.py tests/test_v070_tracing.py tests/test_memory_policy.py (29 passed)

Notes

No README sponsor/logo/credits changes. The example uses environment variables only and does not include any real API key.

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.

1 participant