Skip to content

BaseSessionConfig

Sub classes

Name Children Inherits
NewSession
clawd_code_sdk.models.options
Start a fresh session.
    ResumeSession
    clawd_code_sdk.models.options
    Resume an existing session by ID.
      ContinueLatest
      clawd_code_sdk.models.options
      Continue the most recent conversation.
        FromPR
        clawd_code_sdk.models.options
        Resume sessions linked to a specific GitHub PR.

          🛈 DocStrings

          Common fields for all session configurations.

          Source code in src/clawd_code_sdk/models/options.py
          @dataclass(kw_only=True)
          class BaseSessionConfig:
              """Common fields for all session configurations."""
          
              persist: bool = True
              """Whether to persist the session to disk."""
          

          persist class-attribute instance-attribute

          persist: bool = True
          

          Whether to persist the session to disk.

          :fa-brands-github: Show source on GitHub