The retry mechanism in `api_call` now encloses both the API call
itself (`client.models.generate_content`) and the subsequent processing
of the response (extraction of text and image data).
This addresses an issue where a 'NoneType' error could occur during
response processing after a technically successful API call, and this
error would not trigger a retry.
The `api_call` function will now attempt the entire sequence (call + process)
up to 3 times with exponential backoff (1s, 2s) if any exception occurs
during this sequence.
This commit translates the README.md file from Chinese to English.
The translation includes all sections of the README, preserving technical details, formatting, and contact information.
The translated README has been reviewed for clarity, grammar, and accuracy to ensure it is easily understandable for an English-speaking audience.
Add pyproject.toml for Custom Node Registry
Hello.
I am pleased to receive your invitation to join the Comfy Registry, thank you! I will complete the node registration later