Skip to content

[AAASM-4874] 📝 (docs): Document canonical AA_* env vars#281

Merged
Chisanan232 merged 3 commits into
masterfrom
v0.0.1/AAASM-4874/docs_env_vars
Jul 19, 2026
Merged

[AAASM-4874] 📝 (docs): Document canonical AA_* env vars#281
Chisanan232 merged 3 commits into
masterfrom
v0.0.1/AAASM-4874/docs_env_vars

Conversation

@Chisanan232

Copy link
Copy Markdown
Contributor

Description

python-sdk docs documented only the deprecated AAASM_GATEWAY_URL / AAASM_API_KEY env vars as if they were current, never the canonical AA_GATEWAY_URL / AA_API_KEY names the resolver actually reads first. One doc also had a typo naming AASM_* (missing an "A"), a variable that exists nowhere in the codebase.

Verified against agent_assembly/core/gateway_resolver.py: canonical vars are AA_GATEWAY_URL / AA_API_KEY (lines 53-54); AAASM_* is accepted only as a deprecated fallback that emits a DeprecationWarning (lines 58-59, _resolve_env at 91-113). Users following the old docs got warned at every SDK startup.

Changes (docs-only):

  • configuration.md — resolution-order list and the export example now lead with AA_*; AAASM_* kept as a labeled deprecated alias.
  • troubleshooting.md — error-table and "can't reach the gateway" hints use AA_* (alias noted).
  • examples/preparing-the-runtime-environment.md — fixed the AASM_* typo to AA_*.

Type of Change

  • 📚 Documentation update

Breaking Changes

  • No

Related Issues

  • Related JIRA ticket: AAASM-4874

Closes AAASM-4874

Testing

  • No tests required (explain why)

Doc-only change; no runtime code touched. Confirmed the docs now name the same env vars the resolver reads (AA_GATEWAY_URL / AA_API_KEY), and grep shows no remaining AASM_* typo. Note: docs-only PRs run no CI in this repo (ci.yaml path allow-list excludes docs/**).

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated if needed

Chisanan232 and others added 3 commits July 19, 2026 11:05
Document AA_GATEWAY_URL / AA_API_KEY as the canonical resolver env
vars (gateway_resolver.py:53-54), keeping AAASM_* only as a
deprecated alias that now emits a DeprecationWarning.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The resolver reads AA_GATEWAY_URL / AA_API_KEY; the AASM_* name in
this paragraph exists nowhere in the code.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Chisanan232

Copy link
Copy Markdown
Contributor Author

Review — Claude Code

CI: ✅ green (all checks SUCCESS + expected SKIPPED; no failures).
SonarCloud: 0 open issues
Scope vs AAASM-4874: ✅ complete — docs now document canonical AA_* env vars (AAASM_* kept as labeled deprecated alias; fixed a typo var)
Side-effects: doc-only (no CI by repo policy for docs)
Verdict: ✅ ready to approve + merge.

@Chisanan232
Chisanan232 merged commit 5637276 into master Jul 19, 2026
5 checks passed
@Chisanan232
Chisanan232 deleted the v0.0.1/AAASM-4874/docs_env_vars branch July 19, 2026 05:42
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