Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making max-tokens configurable in the benchmark client. #797

Open
gangmuk opened this issue Mar 5, 2025 · 0 comments
Open

Making max-tokens configurable in the benchmark client. #797

gangmuk opened this issue Mar 5, 2025 · 0 comments

Comments

@gangmuk
Copy link
Collaborator

gangmuk commented Mar 5, 2025

🚀 Feature Description and Motivation

Making max-tokens configurable in the benchmark client
max-tokens is the argument that limits the output token lengths. It should be exposed to the user explicitly in case they want to set.

response = await client.chat.completions.create(
            model=model,
            messages=prompt,
            temperature=0,
            max_tokens=max_tokens, // this config is not here before.
            stream=True,
            stream_options={"include_usage": True},
        )

Use Case

configuring output token length

Proposed Solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant