Skip to content

Conversation

@koxudaxi
Copy link
Collaborator

@koxudaxi koxudaxi commented Oct 24, 2025

TL;DR

Added support for Anthropic models on Google Vertex AI.

What changed?

  • Added "anthropic-vertex" provider with "claude-sonnet-4@20250514" model to the end-to-end test configuration
  • Created new test files for the AnthropicVertex client:
    • Added basic module initialization file
    • Added test configuration with environment setup fixtures
    • Implemented comprehensive client tests covering context manager behavior, client caching, and environment variable fallbacks

How to test?

  1. Run the existing test suite to verify the new AnthropicVertex client tests pass
  2. Verify that the end-to-end tests work with the newly added "anthropic-vertex" provider
  3. Test with different environment variable configurations to ensure proper fallback behavior

Why make this change?

This change expands Mirascope's LLM provider support to include Anthropic models available through Google Vertex AI, giving users more flexibility in choosing their preferred model deployment platform while maintaining a consistent interface.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 24, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
v2-docs 2401400 Oct 29 2025, 02:38 PM

Copy link
Collaborator Author

@koxudaxi koxudaxi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quotation errors are occurring despite sufficient quota availability, preventing test execution. We have requested a quota limit increase for the relevant quotas, but it appears this will take approximately two business days to process.

@koxudaxi koxudaxi force-pushed the 10-24-implement_mirrored_provider_clients_anthropicvertex_ branch from c2b08ab to 550f5fa Compare October 28, 2025 07:45
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch from b451bc7 to 02e948c Compare October 28, 2025 07:45
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch 2 times, most recently from b40a7f4 to 87666f0 Compare October 29, 2025 02:38
@koxudaxi koxudaxi force-pushed the 10-24-implement_mirrored_provider_clients_anthropicvertex_ branch from 550f5fa to 2c4e692 Compare October 29, 2025 02:38
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch from 87666f0 to 5bc33eb Compare October 29, 2025 03:17
@koxudaxi koxudaxi force-pushed the 10-24-implement_mirrored_provider_clients_anthropicvertex_ branch from 2c4e692 to 18541ba Compare October 29, 2025 03:17
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch from 5bc33eb to 88b7716 Compare October 29, 2025 03:28
@koxudaxi koxudaxi force-pushed the 10-24-implement_mirrored_provider_clients_anthropicvertex_ branch 2 times, most recently from a3e25a6 to 8a1c63b Compare October 29, 2025 03:34
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch 2 times, most recently from 0a38436 to 84687bf Compare October 29, 2025 04:03
@koxudaxi koxudaxi force-pushed the 10-24-implement_mirrored_provider_clients_anthropicvertex_ branch 2 times, most recently from d014948 to 427a6e3 Compare October 29, 2025 08:09
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch 3 times, most recently from b188bd3 to da68f38 Compare October 29, 2025 14:05
@koxudaxi koxudaxi force-pushed the 10-24-implement_mirrored_provider_clients_anthropicvertex_ branch from a2ebb7b to 28be452 Compare October 29, 2025 14:19
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch from da68f38 to 0126dbf Compare October 29, 2025 14:19
@koxudaxi koxudaxi marked this pull request as ready for review October 29, 2025 14:31
@koxudaxi koxudaxi requested a review from willbakst as a code owner October 29, 2025 14:31
@koxudaxi koxudaxi force-pushed the 10-24-implement_mirrored_provider_clients_anthropicvertex_ branch from 28be452 to c4b70b6 Compare October 29, 2025 14:32
@koxudaxi koxudaxi force-pushed the 10-24-add_unittest_for_mirrored_provider_clients_anthropicvertex_ branch from 0126dbf to 2401400 Compare October 29, 2025 14:32
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