anthropics/anthropic-sdk-python

AnthropicVertex does not expose `with_options`

dlebech opened this issue · 3 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: #410

Example

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

Thank you.

Thanks for the report. We'll try to fix this soon, but a PR would be welcome.

Thanks @rattrayalex . Yes ok, I think can manage that. I will have a PR ready later today 👍

Thanks for the PR @dlebech!