Skip to content

BackgroundTerminal

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970869448848["prompt.BackgroundTerminal"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869448848
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

A process that keeps running after its tool call returned control to the model.

Source code in src/aclientp/schema/v2/prompt.py
class BackgroundTerminal(AnnotatedObject):
    """A process that keeps running after its tool call returned control to the model."""

    type: Literal["terminal"] = Field(default="terminal", init=False)

    terminal_id: TerminalId
    """The listed terminal."""

terminal_id instance-attribute

terminal_id: TerminalId

The listed terminal.

:fa-brands-github: Show source on GitHub