max_length calculation change to account for Initial Text length

#4
by ZWEi-P - opened

Trying to fix the problem that occurs when inputting a lengthy initial text; either it only outputs a few words, or simply give up and output nothing.

Gustavosta changed pull request status to merged

Thanks for the contribution! Then I'll try to improve the code to always generate 4 blocks of snippets of prompts in big prompts and fix a few more things. :)

Sign up or log in to comment