Skip to content

Adding docstring and max_tokens param to llms()#77

Merged
bradhe merged 2 commits intodevelopfrom
feature/tow-723-sdk-add-max_tokens-parameter-to-llms-helper
Aug 13, 2025
Merged

Adding docstring and max_tokens param to llms()#77
bradhe merged 2 commits intodevelopfrom
feature/tow-723-sdk-add-max_tokens-parameter-to-llms-helper

Conversation

@datancoffee
Copy link
Contributor

Added docstring to Llm class
Added max_tokens parameter to llms()

@datancoffee datancoffee requested review from bradhe and Copilot August 3, 2025 20:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the language model interface by adding comprehensive documentation and parameter flexibility. The changes improve the developer experience by providing clear usage guidance and allowing customization of token generation limits.

  • Added comprehensive docstring to the Llm class explaining its purpose, attributes, and usage patterns
  • Added max_tokens parameter to the llms() factory function with detailed documentation
  • Enhanced the factory function with extensive docstring covering parameters, return values, exceptions, and examples

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@bradhe bradhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@socksy socksy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@bradhe bradhe merged commit 7a55e15 into develop Aug 13, 2025
4 checks passed
@bradhe bradhe deleted the feature/tow-723-sdk-add-max_tokens-parameter-to-llms-helper branch August 13, 2025 07:31
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.

4 participants