30 Commits
Author SHA1 Message Date
silveroxides caa97c15f1 fix some caching related issues 2025-11-25 21:28:09 +01:00
silveroxides d8c2380292 Fix output name. 2025-11-23 20:39:50 +01:00
silveroxides d3adb48c2c In progress migration to V3 and update of code. 2025-11-23 19:32:23 +01:00
silveroxides 30182ed01c Make setting thinking level, thoughts and media resolution simpler 2025-11-19 16:26:37 +01:00
silveroxides a8a21afd41 Add gemini-3.0-pro-preview and update google-genai to 1.51.0 2025-11-18 18:31:45 +01:00
silveroxides 233930afde Make Include images False by default 2025-11-14 12:40:35 +01:00
silveroxides 663b110267 adjust available models list 2025-11-14 12:37:22 +01:00
silveroxides bd714aa933 Add response tiomout setting 2025-11-05 13:18:12 +01:00
silveroxides 30be4bd937 Add proper seed based cache so so that when set to fixed seed and no changes made, it will not send additional requests 2025-11-03 20:55:48 +01:00
silveroxides 0a012c95fa update seed stuff 2025-10-28 11:53:04 +01:00
silveroxides 0f0a87e469 add json based api key getter and updated genai 2025-10-20 06:08:22 +02:00
silveroxides 4a25928934 add nano-banana maybe? 2025-08-30 20:57:53 +02:00
silveroxides 44ec325dac correct thinking budget option range 2025-07-16 03:31:06 +02:00
silveroxides 989c1d595b add thinking_budget option with tooltip 2025-07-16 03:09:19 +02:00
silveroxides 9bb8a16530 reduce retries to 1 and correct SafetySettings 2025-07-13 14:16:29 +02:00
silveroxides 892a215f13 Make image generation work with 2.0-flash-exp 2025-06-24 16:58:53 +02:00
silveroxides ce29c7f6d3 add api_version to config and more models 2025-06-21 11:39:00 +02:00
silveroxides 2d5d99b22b better bypass method 2025-06-12 19:14:25 +02:00
silveroxides b2c8f96726 edit function name 2025-06-11 11:08:44 +02:00
google-labs-jules[bot] 74031df9bc feat: Update padding character to Word Joiner (U+2060)
This commit updates the padding character in the `bypass_mode` feature of the `SSL_GeminiTextPrompt` node. The padding now uses the Word Joiner character (U+2060) instead of underscores.

The `_pad_text_with_underscores` method has been modified to implement this change. Text processed by this function will now have each character separated by U+2060, and the entire string will be prepended and appended with U+2060. For example, "hello" becomes "⁠h⁠e⁠l⁠l⁠o⁠".
2025-06-11 09:05:39 +00:00
google-labs-jules[bot] 80d5a8f2a9 feat: Add bypass_mode to SSL_GeminiTextPrompt
This commit introduces a new `bypass_mode` multiple choice input to the `SSL_GeminiTextPrompt` node. This feature allows you to choose whether to apply a special underscore padding to the "system_instruction", the "prompt", or "both" before sending them to the Gemini API. The padding format is `_c_h_a_r_a_c_t_e_r_s_`.

The following changes were made:
- Added `bypass_mode` to the `INPUT_TYPES` with options: "None", "system_instruction", "prompt", "both".
- Implemented a helper method `_pad_text_with_underscores` to perform the character padding.
- Modified the `generate` method to:
    - Accept `bypass_mode` as a parameter.
    - Conditionally apply padding to `system_instruction` and `prompt` based on the selected `bypass_mode`.
    - Use the (potentially) padded text in the API call to Gemini.
2025-06-11 09:00:12 +00:00
silveroxides 30926703e2 edit category and api client config 2025-06-11 10:47:43 +02:00
silveroxides 02094557e1 improve retry logic 2025-06-11 04:33:30 +02:00
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