enum Google::GenerativeAI::Content::CodeExecutionResult::Outcome

Defined in:

gemini.cr

Enum Members

OutcomeUnspecified = 0

Unspecified status. This value should not be used.

OutcomeOK = 1

Code execution completed successfully.

OutcomeFailed = 2
Code execution finished but with a failure. stderr should contain

the reason.

OutcomeDeadlineExceeded = 3

Code execution ran for too long, and was cancelled. There may or may not be a partial output present.

Instance Method Summary

Instance Method Detail

def outcome_deadline_exceeded? #

[View source]
def outcome_failed? #

[View source]
def outcome_ok? #

[View source]
def outcome_unspecified? #

[View source]