Closed bnogas closed 4 months ago
After my testing, it was confirmed that the problem exists. After using Focus for testing, I believe that this should be a support issue with Focus. As it cannot be resolved at the moment, it is recommended not to use it in this way.
I tested this on method v1/generation/text-to-image and this error also appears. We generate a lot of images per day and this error is very critical for us. For a long time we couldn’t understand what the problem was until we found this topic. We will have to cut the number of tokens. (((
Issue: Whenever too long prompt is sent to fooocus-api it goes into an unrecoverable state. It fails all the subsequent requests after receving a single one with > 1024 tokens. Additionally
/ping
endpoint still returns 200.I'm attaching the server log: error.log
And an input that causes the issue input2.json