Enum Outcome
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Enumeration of possible outcomes of the code execution.
[JsonConverter(typeof(JsonStringEnumConverter<Outcome>))]
public enum Outcome
- Extension Methods
Fields
OUTCOME_UNSPECIFIED = 0Unspecified status. This value should not be used.
OUTCOME_OK = 1Code execution completed successfully.
OUTCOME_FAILED = 2Code execution finished but with a failure.
stderrshould contain the reason.OUTCOME_DEADLINE_EXCEEDED = 3Code execution ran for too long, and was cancelled. There may or may not be a partial output present.