pierrejeambrun commented on code in PR #74272:
URL: https://github.com/apache/airflow/pull/74272#discussion_r4219017491


##########
providers/common/ai/src/airflow/providers/common/ai/operators/llm.py:
##########
@@ -308,6 +308,8 @@ def execute(self, context: Context) -> Any:
         output = result.output
 
         model_confidence = ModelConfidence.from_result(result)
+        if model_confidence.model is not None:
+            self._push_xcom(context, MODEL_NAME_XCOM_KEY, 
model_confidence.model)

Review Comment:
   Updated, only focusing on AgentOperator and LLMOperator for now. Subsequence 
PRs for all 4 remaining operators later. (LLMSQLQueryOperator, 
LLMSchemaCompareOperator and LLMFileAnalysisOperator, LLMBranchOperator)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to