Installation
Usage
How It Works
wrap_bedrock patches both converse() and invoke_model() on the Bedrock runtime client. After each call, it:
- Extracts the model name from the
modelIdparameter - Extracts token counts from the response usage metadata
- Infers the provider from the model ID prefix (e.g.,
anthropic.,amazon.,meta.) - Sends the usage event to MeshAI (buffered, non-blocking)

