Outcome Enumeration

Enumeration of possible outcomes of the code execution.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public enum Outcome

Members

OUTCOME_UNSPECIFIED0 Unspecified status. This value should not be used.
OUTCOME_OK1 Code execution completed successfully.
OUTCOME_FAILED2 Code execution finished but with a failure. stderr should contain the reason.
OUTCOME_DEADLINE_EXCEEDED3 Code execution ran for too long, and was cancelled. There may or may not be a partial output present.

See Also