Skip to content

How to preserve non-standard attributes in the request body? #1469

@allentown521

Description

@allentown521

What Would You Like to See with the Gateway?

When calling the /chat endpoint, I passed some non-standard fields in the body, such as providerOptions and enable_thinking. These are not OpenAI standard fields, and I found through the logs that they were not retained. As a result, when I used a custom provider, I lost this information (which should be in the body, not the request header).

Context for your Request

No response

Your Twitter/LinkedIn

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions