Skip to content

Feature request: Consider exposing extra API headers as argument #190

@parmsam-pfizer

Description

@parmsam-pfizer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions