Skip to content

Support extra_body parameter #6

Description

@0xffmeta

Feature Request

Summary

Example: Add raw response for API.


How to add extra body parameters? E.g. in the official doc, they also support enable_thinking or enable_search. Just wondering where I can put those parameters?

Problem Statement

Example: Users may want the raw response to transform with middleware.


Proposed Solution

Example: Implement a raw_response field in response.


Use Cases

  • Mutate with middleware depending on user's use case.

Additional Context

Example:

  • Screenshot/Code block of similar functionality in another app.
// Code goes here...

Impact Assessment


Checklist

Please confirm the following:

  • I have searched existing issues and discussions for duplicates.
  • This feature is not already implemented or planned.
  • I am willing to assist with testing or providing feedback during development.

Thank you for taking the time to contribute! 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions