Skip to content

Possibility of adding beta header in Claude #85

Open
@luismiguelamado

Description

@luismiguelamado

Hello,

Thank you for such a great library! I'm really enjoying using it.

I'm encountering a limitation with Claude 3.7 regarding the output token limit of 8192 tokens.

There is a beta header that can be added to increase the output tokens. According to Anthropic's [documentation](https://docs.anthropic.com/en/docs/about-claude/models/all-models), "Include the beta header output-128k-2025-02-19 in your API request to increase the maximum output token length to 128k tokens for Claude 3.7 Sonnet."

Is there a possibility of adding this header? Perhaps during the configuration, we could have a flag to enable or disable the header.

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions