]> git.cworth.org Git - zombocom-ai/commitdiff
Limit generated filename to something not crazy
authorCarl Worth <cworth@cworth.org>
Wed, 7 Dec 2022 19:58:07 +0000 (11:58 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 7 Dec 2022 20:01:09 +0000 (12:01 -0800)
Since otherwise, with a crazy-long prompt, we could exceed the limit
of the filesystem, (which I think is 255 characters for what I'm using
for the server currently). In this commit, we don't use more than 200
characters from the prompt itself, to which we could add 10 from the
seed and another handful for separators and a file extension, so that
should be good.


No differences found