Similar to ellmer::chat_openai() in R, please consider adding an api_headers argument that allows for arbitrary extra headers appended to every chat API call. This would make it easier to integrate internal APIs that use the OpenAI format and a Bearer Token approach in the API header with chatlas in Python.
Similar to
ellmer::chat_openai()in R, please consider adding anapi_headersargument that allows for arbitrary extra headers appended to every chat API call. This would make it easier to integrate internal APIs that use the OpenAI format and a Bearer Token approach in the API header with chatlas in Python.