Skip to content

BaseAgentRequest

Sub classes

Name Children Inherits
WriteTextFileRequest
aclientp.schema.agent_requests
Request to write content to a text file.
    ReadTextFileRequest
    aclientp.schema.agent_requests
    Request to read content from a text file.
      TerminalOutputRequest
      aclientp.schema.agent_requests
      Request to get the current output and status of a terminal.
        WaitForTerminalExitRequest
        aclientp.schema.agent_requests
        Request to wait for a terminal command to exit.
          CreateTerminalRequest
          aclientp.schema.agent_requests
          Request to create a new terminal and execute a command.
            KillTerminalRequest
            aclientp.schema.agent_requests
            Request to kill a terminal command without releasing the terminal.
              ReleaseTerminalRequest
              aclientp.schema.agent_requests
              Request to release a terminal and free its resources.
                RequestPermissionRequest
                aclientp.schema.agent_requests
                Request for user permission to execute a tool call.

                  Base classes

                  Name Children Inherits
                  Request
                  aclientp.schema.base
                  Base request model.

                  ⋔ Inheritance diagram

                  graph TD
                    95970861850336["agent_requests.BaseAgentRequest"]
                    95970858197488["base.Request"]
                    95970862258240["base.AnnotatedObject"]
                    95970862254416["base.Schema"]
                    95970851503232["main.BaseModel"]
                    125067848591872["builtins.object"]
                    95970858197488 --> 95970861850336
                    95970862258240 --> 95970858197488
                    95970862254416 --> 95970862258240
                    95970851503232 --> 95970862254416
                    125067848591872 --> 95970851503232

                  🛈 DocStrings

                  Bases: Request

                  Base class for all agent requests.

                  Source code in src/aclientp/schema/agent_requests.py
                  class BaseAgentRequest(Request):
                      """Base class for all agent requests."""
                  
                      session_id: str
                      """The session ID for this request."""
                  

                  session_id instance-attribute

                  session_id: str
                  

                  The session ID for this request.

                  :fa-brands-github: Show source on GitHub