Skip to content

feat: Add --base-url and --api-version options#15

Merged
mmontan merged 1 commit intomainfrom
feat/base-url-api-version-options
Feb 12, 2026
Merged

feat: Add --base-url and --api-version options#15
mmontan merged 1 commit intomainfrom
feat/base-url-api-version-options

Conversation

@mmontan
Copy link
Collaborator

@mmontan mmontan commented Feb 12, 2026

Summary

  • Adds --base-url and --api-version CLI options to all 8 commands (list, get, create, delete, chat, sessions list, sandboxes list, memories list)
  • Allows users to override the Vertex AI endpoint and API version, useful for staging environments, private endpoints, or different API versions
  • Both options default to None, deferring to the SDK's default behavior unless explicitly set

Test plan

  • All 83 tests pass (uv run pytest)
  • Verified --base-url and --api-version appear in --help for all commands
  • Smoke tested ae list -l us-central1 --api-version v1beta1 — works correctly
  • Smoke tested ae list -l us-central1 --api-version v2 — returns expected 404

🤖 Generated with Claude Code

… overrides

Allow users to override the Vertex AI base URL and API version on all
commands, useful for testing against staging environments, private
endpoints, or different API versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mmontan mmontan force-pushed the feat/base-url-api-version-options branch from ed15866 to 6aae761 Compare February 12, 2026 03:44
@mmontan mmontan merged commit d54a156 into main Feb 12, 2026
4 checks passed
@mmontan mmontan deleted the feat/base-url-api-version-options branch February 12, 2026 04:11
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