Skip to content

Update test_async_client.py#740

Draft
mkozakov wants to merge 1 commit intomainfrom
mkozakov-patch-3
Draft

Update test_async_client.py#740
mkozakov wants to merge 1 commit intomainfrom
mkozakov-patch-3

Conversation

@mkozakov
Copy link
Copy Markdown
Collaborator

@mkozakov mkozakov commented Mar 25, 2026

Description

This PR introduces changes to the test_generate function in the test_async_client.py file. The modifications include the addition of two new parameters, model and max_tokens, to the self.co.generate function call.

Changes

  • Addition of model Parameter: The model parameter is set to "command-a-03-2025", specifying the model to be used for generation.
  • Addition of max_tokens Parameter: The max_tokens parameter is set to 10, limiting the number of tokens in the generated response.

These changes enhance the test by providing more control over the generation process, allowing for specific model selection and output length constraints.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant