Skip to content

anthropic

marvin.engine.language_models.anthropic

AnthropicChatLLM

run async

Calls an OpenAI LLM with a list of messages and returns the response.

AnthropicStreamHandler

handle_streaming_response async

Accumulate chunk deltas into a full response. Returns the full message. Passes partial messages to the callback, if provided.