context.call
.
However, if you need to call the Anthropic endpoint for text generation (/v1/messages
), you can leverage the type-safe method context.api.anthropic.call
method:
context.api.anthropic.call
is not yet available in
workflow-py. You can use context.call
instead to work with Anthropic. See our
Roadmap for feature parity plans and
Changelog for updates.