Skip to content

feat: add configured base URL support to client - #64

Merged
plutoless merged 2 commits into
AgoraIO:mainfrom
seymourtang:feat/INTERNAL_API_BASE_URL
Aug 3, 2026
Merged

feat: add configured base URL support to client#64
plutoless merged 2 commits into
AgoraIO:mainfrom
seymourtang:feat/INTERNAL_API_BASE_URL

Conversation

@seymourtang

@seymourtang seymourtang commented Aug 3, 2026

Copy link
Copy Markdown
Contributor
  • Introduced functionality to use a fixed base URL for API requests based on the AGORA_AGENTS_API_BASE_URL environment variable.
  • Updated the Pool class to disable dynamic domain selection when a fixed base URL is set.
  • Added tests to verify the correct behavior of the new base URL feature and its impact on domain selection.

- Introduced functionality to use an internal fixed base URL for API requests based on the AGORA_AGENTS_INTERNAL_API_BASE_URL environment variable.
- Updated the Pool class to disable dynamic domain selection when a fixed base URL is set.
- Added tests to verify the correct behavior of the new base URL feature and its impact on domain selection.
- Updated the environment variable from AGORA_AGENTS_INTERNAL_API_BASE_URL to AGORA_AGENTS_API_BASE_URL for clarity.
- Refactored related functions and tests to reflect the new naming convention.
- Ensured that the Pool class and its methods utilize the updated base URL for domain selection and routing.
@seymourtang seymourtang changed the title feat: add internal fixed base URL support to client feat: add configured base URL support to client Aug 3, 2026
@plutoless
plutoless merged commit 2543d7d into AgoraIO:main Aug 3, 2026
4 checks passed
@seymourtang
seymourtang deleted the feat/INTERNAL_API_BASE_URL branch August 3, 2026 07:56
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.

2 participants