Skip to content

Conversation

@majiayu000
Copy link
Contributor

Fix duplicate doc comments generated by the byot macro. The macro was outputting #(#attrs)* twice. Fixes #345

The byot macro was generating duplicate attributes (including doc comments)
because it added #(#attrs)* before #input, but #input already contains all
its attributes. This caused doc strings like "Retrieves an assistant." to
appear twice as "Retrieves an assistant. Retrieves an assistant."

Fixes 64bit#345
Copy link
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

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

Nice, thank you for this fix!

@64bit 64bit merged commit c2af0c6 into 64bit:main Dec 19, 2025
48 checks passed
@majiayu000
Copy link
Contributor Author

Glad I could help.

@majiayu000 majiayu000 deleted the fix/issue-345-doc-comment-repetition branch December 19, 2025 02:07
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.

docs: Fix repetition of doc comments

2 participants