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

Bug: Remove unsupported 'qualitySuffix' argument from GenerateImageInfer.build_generate() in documentation #98

Closed
trojblue opened this issue Jan 4, 2025 · 4 comments · Fixed by #100
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@trojblue
Copy link

trojblue commented Jan 4, 2025

The example on readme had an option 'qualitySuffix':

qualitySuffix=True,

which was removed or not present in the actual generator:

def build_generate(
prompt: str,

@neutron-nerve neutron-nerve bot added break change Requires breaking changes bug Something isn't working documentation Improvements or additions to documentation labels Jan 4, 2025
@neutron-nerve neutron-nerve bot changed the title TypeError: GenerateImageInfer.build_generate() got an unexpected keyword argument 'qualitySuffix' Bug: Remove unsupported 'qualitySuffix' argument from GenerateImageInfer.build_generate() in documentation Jan 4, 2025
@sudoskys
Copy link
Member

sudoskys commented Jan 5, 2025

Ok, will change it in a moment, thanks for the report

@sudoskys
Copy link
Member

sudoskys commented Jan 5, 2025

This option was merged into quality Toggle in the previous version.

sudoskys added a commit that referenced this issue Jan 5, 2025
🔧 refactor(generate_voice): remove unused import VoiceSpeakerV1

📝 docs(README): remove qualitySuffix from example usage

#98 #99
@sudoskys sudoskys removed the break change Requires breaking changes label Jan 5, 2025
@sudoskys
Copy link
Member

sudoskys commented Jan 5, 2025

fixed in #100

@sudoskys sudoskys closed this as completed Jan 5, 2025
Copy link

neutron-nerve bot commented Jan 5, 2025

Issue Closure Report for LlmKira/novelai-python: Unsupported 'qualitySuffix' Argument

Summary

The issue concerned the removal of an unsupported 'qualitySuffix' argument from the documentation example for the GenerateImageInfer.build_generate() method in the novelai-python repository. The argument was mistakenly included in the documentation but was absent in the actual code implementation.

Details

  • Issue Originator: @trojblue
  • Reported On: January 4, 2025
  • Resolved By: @sudoskys
  • Resolution Date: January 5, 2025

Problem Description

The documentation in the repository included the argument 'qualitySuffix' in an example, highlighting a discrepancy with the actual implementation, where this argument was missing from the GenerateImageInfer.build_generate() method.

Documentation Line Reference

Resolution

The issue was addressed promptly by contributor @sudoskys, who removed the erroneous 'qualitySuffix': True entry from the README documentation. This correction ensured that the documentation is aligned with the source code, avoiding any potential confusion for the users.

Final Outcome

The alignment of the documentation with the existing codebase has been successfully achieved, effectively closing the issue. The solution was implemented in pull request #100.


We appreciate the vigilance of community members in identifying such discrepancies, and we extend our gratitude to @trojblue for reporting the issue and @sudoskys for the swift resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants