@@ -214,12 +214,13 @@ package com.google.firebase.ai.type {
214214 }
215215
216216 public final class CodeExecutionResultPart implements com.google.firebase.ai.type.Part {
217- ctor public CodeExecutionResultPart(com.google.firebase.ai.type.Outcome outcome, String output);
218- method public com.google.firebase.ai.type.Outcome getOutcome();
217+ ctor public CodeExecutionResultPart(String outcome, String output);
218+ method public boolean executionSucceeded();
219+ method public String getOutcome();
219220 method public String getOutput();
220221 method public boolean isThought();
221222 property public boolean isThought;
222- property public final com.google.firebase.ai.type.Outcome outcome;
223+ property public final String outcome;
223224 property public final String output;
224225 }
225226
@@ -901,19 +902,6 @@ package com.google.firebase.ai.type {
901902 property public final int tokenCount;
902903 }
903904
904- public final class Outcome {
905- method public int getOrdinal();
906- property public final int ordinal;
907- field public static final com.google.firebase.ai.type.Outcome.Companion Companion;
908- field public static final com.google.firebase.ai.type.Outcome OUTCOME_DEADLINE_EXCEEDED;
909- field public static final com.google.firebase.ai.type.Outcome OUTCOME_FAILED;
910- field public static final com.google.firebase.ai.type.Outcome OUTCOME_OK;
911- field public static final com.google.firebase.ai.type.Outcome OUTCOME_UNSPECIFIED;
912- }
913-
914- public static final class Outcome.Companion {
915- }
916-
917905 public interface Part {
918906 method public boolean isThought();
919907 property public abstract boolean isThought;
0 commit comments