agentops
agentops copied to clipboard
[Feature]: Martian (model router) support
💡 Feature Description and Proposed Solution
Add support for Martian for the OpenAI client
https://docs.withmartian.com/martian-model-router/getting-started/quickstart-integrating-martian-into-your-codebase/openai-python
To instrument, add the extra metadata to the LLM Event. We can detect this when the OpenAI endpoint points to Martian
🤔 Related Problem
No response
🤝 Contribution
- [ ] Yes, I'd be happy to submit a pull request with these changes.
- [ ] I need some guidance on how to contribute.
- [ ] I'd prefer the AgentOps team to handle this update.