Description
Add auto-instrumentation support for Mistral AI LLM API.
Why
Mistral is gaining popularity for its efficient models. Supporting it would expand our user base.
Implementation Guide
- Create
src/agentdbg/instrumentors/mistral_instrumentor.py
- Wrap the Mistral client methods
- Extract token counts from response
- Add to
auto_instrument() in __init__.py
- Add tests and example
Resources
Good First Issue
Follow the existing instrumentor pattern - straightforward implementation!