The final_string
widget is designed to display the output from the Gemini nodes after they execute. Here's a breakdown of how it should work:
-
Node Execution: When a Gemini node (like
GeminiUtilVideoDescribe
orGeminiUtilImageDescribe
) executes, it processes input data and generates output, including thefinal_string
. -
Output Handling: Each node should have an
onExecuted
method that captures the output from the execution. This method is responsible for updating the UI components with the results. -
Updating the Widget: The
onExecuted
method should set the value of thefinal_string
widget to the generated output. This is typically done by accessing the widget instance and assigning the output value to itsvalue
property. -
Display Logic: The UI should automatically refresh to display the updated value in the
final_string
widget once the node execution is complete.