Class SessionConfig

java.lang.Object
com.google.genai.gaos.models.interactions.SessionConfig

public class SessionConfig extends Object
SessionConfig

The configuration of CodeMender sessions.

  • Constructor Details

    • SessionConfig

      public SessionConfig(@Nullable Integer maxRounds)
    • SessionConfig

      public SessionConfig()
  • Method Details

    • maxRounds

      public Optional<Integer> maxRounds()
      The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
    • builder

      public static SessionConfig.Builder builder()
    • withMaxRounds

      public SessionConfig withMaxRounds(@Nullable Integer maxRounds)
      The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object