Commit Graph
7 Commits
Author SHA1 Message Date
google-labs-jules[bot] fdefe8f87e Fix: Expand API retry logic to cover response processing.
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.
2025-05-24 21:49:49 +00:00
google-labs-jules[bot] 60597b141f I translated all Chinese comments and user-facing string literals in gemini_nodes.py to English. I also modified the api_call function in SSL_GeminiTextPrompt to retry up to 3 times with a 1-second delay between attempts before throwing an exception. 2025-05-24 21:36:16 +00:00
Silver 884c9cacda Update gemini_nodes.py 2025-05-08 16:19:57 +02:00
silveroxides 49df442cdf Expand and Reconfigure 2025-05-07 18:42:33 +02:00
tatookan f3cf36de68 Update can upload multi-image processing 2025-03-19 23:45:00 +08:00
tatookan 2bd13f53d5 Update gemini_nodes.py
Fix seed not working
2025-03-15 15:04:20 +08:00
tatookan 9b75ff3150 主分支上传 2025-03-15 11:05:37 +08:00