everything-claude-code/.env.example
lucaszhu-hue 71792fda81
feat: add Atlas Cloud as LLM/AI provider (#2279)
* feat: add Atlas Cloud as OpenAI-compatible LLM provider

- Add Atlas Cloud env vars to .env.example (ATLAS_API_KEY, ATLAS_BASE_URL)
- Add docs/ATLAS-CLOUD-GUIDE.md with configuration, model list, and usage example
- Atlas Cloud provides 59+ LLM models via OpenAI-compatible API at https://api.atlascloud.ai/v1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(atlascloud): add Atlas Cloud provider implementation

Wire Atlas Cloud in as a first-class OpenAI-compatible LLM provider,
complementing the existing .env.example/docs entries.

- src/llm/providers/atlas.py: AtlasProvider adapter (base_url
  https://api.atlascloud.ai/v1, default model deepseek-ai/deepseek-v4-pro);
  floors max_tokens to 512 for reasoning models; reads ATLAS_API_KEY
  (falls back to ATLASCLOUD_API_KEY), ATLAS_BASE_URL, ATLAS_MODEL
- src/llm/core/types.py: add ProviderType.ATLAS
- providers __init__/resolver: export + register AtlasProvider
- tests: test_atlas_provider.py + resolver coverage for "atlas"

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 16:29:11 -04:00

61 lines
3.1 KiB
Plaintext

# .env.example — Canonical list of required environment variables
# Copy this file to .env and fill in real values.
# NEVER commit .env to version control.
#
# Usage:
# cp .env.example .env
# # Then edit .env with your actual values
# ─── Anthropic ────────────────────────────────────────────────────────────────
# Your Anthropic API key (https://console.anthropic.com)
ANTHROPIC_API_KEY=
# ─── GitHub ───────────────────────────────────────────────────────────────────
# GitHub personal access token (for MCP GitHub server)
GITHUB_TOKEN=
# ─── Optional: Docker platform override ──────────────────────────────────────
# DOCKER_PLATFORM=linux/arm64 # or linux/amd64 for Intel Macs / CI
# ─── Optional: Package manager override ──────────────────────────────────────
# CLAUDE_CODE_PACKAGE_MANAGER=npm # npm | pnpm | yarn | bun
# --- Optional: Astraflow / UModelVerse (OpenAI-compatible) -------------------
# Global endpoint: https://api.umodelverse.ai/v1
ASTRAFLOW_API_KEY=
# ASTRAFLOW_MODEL=gpt-4o-mini
# ASTRAFLOW_BASE_URL=https://api.umodelverse.ai/v1
# China endpoint: https://api.modelverse.cn/v1
ASTRAFLOW_CN_API_KEY=
# ASTRAFLOW_CN_MODEL=gpt-4o-mini
# ASTRAFLOW_CN_BASE_URL=https://api.modelverse.cn/v1
# --- Optional: Atlas Cloud (OpenAI-compatible, 59+ LLM models) ---------------
# Full-modal AI inference platform — LLM / image / video generation
# Docs: https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=everything-claude-code
ATLAS_API_KEY=
# ATLAS_BASE_URL=https://api.atlascloud.ai/v1
# ATLAS_MODEL=anthropic/claude-sonnet-4.6
# ─── ECC agent data (multi-harness isolation) ───────────────────────────────
# Memory hooks (sessions, learned skills, aliases, metrics). Default: ~/.claude
# Use a separate root when running ECC in Cursor alongside Claude Code:
# ECC_AGENT_DATA_HOME=$HOME/.cursor/ecc
# ─── Session & Security ─────────────────────────────────────────────────────
# GitHub username (used by CI scripts for credential context)
GITHUB_USER="your-github-username"
# Primary development branch for CI diff-based checks
DEFAULT_BASE_BRANCH="main"
# Path to session-start.sh (used by test/test_session_start.sh)
SESSION_SCRIPT="./session-start.sh"
# Path to generated MCP configuration file
CONFIG_FILE="./mcp-config.json"
# ─── Optional: Verbose Logging ──────────────────────────────────────────────
# Enable verbose logging for session and CI scripts
ENABLE_VERBOSE_LOGGING="false"