Skip to content

Conversation

NathanHB
Copy link
Member

No description provided.

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@NathanHB NathanHB requested a review from clefourrier August 25, 2025 12:19
Copy link
Member

@clefourrier clefourrier left a comment

Choose a reason for hiding this comment

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

LGTM but I think we could make it less breakage prone with the suggested method in comment (grouping default value and kwarg).

ReasoningTags = Annotated[
str,
Option(
help="List of reasoning tag pairs to remove from responses, formatted as a Python list of tuples.",
Copy link
Member

Choose a reason for hiding this comment

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

you should indicate what the default will be in the doc btw

Copy link
Member Author

Choose a reason for hiding this comment

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

It added by typer automatically

Screenshot 2025-08-26 at 11 43 13

Copy link
Member

Choose a reason for hiding this comment

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

Nice!
How does it interact with the docstrings of the doc page?

Copy link
Member Author

Choose a reason for hiding this comment

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

it does not sync with the docs, but the behaviour did not change so the docs are the same.

@NathanHB NathanHB merged commit ee31223 into main Aug 28, 2025
5 of 6 checks passed
NathanHB added a commit that referenced this pull request Sep 19, 2025
* reduces cli args redundancy

* fix typing

* reasoning tags do not need to default to None to then be attributed to actual default

* fix typing for dataclass

* better docs for cli args

* fix reasoning tags parsing

* update from suggestion

* styling

* styling

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

Successfully merging this pull request may close these issues.

3 participants