mistralai / client-python

Python client library for Mistral AI platform
Apache License 2.0
469 stars 97 forks source link

Feat request: add ability to pass custom headers #85

Closed ashishb closed 1 month ago

ashishb commented 5 months ago

Add the ability to pass custom headers to the client. This is useful for LLM telemetry tools like OpenPipe or ObserveAPI.

OpenAI & Anthropic clients already support this.

hadi-ilies commented 3 months ago

I agree we really need this :)

sophiamyang commented 1 month ago

Thanks for the suggestions. This is implemented. Please see more details here: https://github.com/mistralai/client-python/blob/main/README.md#custom-http-client