anthropic-sdk-python icon indicating copy to clipboard operation
anthropic-sdk-python copied to clipboard

AnthropicVertex does not expose `with_options`

Open dlebech opened this issue 1 year ago • 0 comments

What is it

The AnthropicVertex and AsyncAnthropicVertex clients do not seem to expose with_options(...) like the other clients.

Similar previous issue for Bedrock: https://github.com/anthropics/anthropic-sdk-python/issues/410

Example

> client.with_options(max_retries=num_retries).messages.create(...)
AttributeError: 'AsyncAnthropicVertex' object has no attribute 'with_options'

Thank you.

dlebech avatar Jun 28 '24 12:06 dlebech