Spaces:
Paused
Paused
File size: 458 Bytes
9792ea7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*- coding: utf-8 -*-
"""The utility classes used in building the agent class."""
from dataclasses import dataclass
from typing import Literal
from ..message import ToolCallBlock
@dataclass
class _ToolCallBatch:
"""A batch of tool calls that execute either sequentially or
concurrently."""
type: Literal["sequential", "concurrent"]
"""The batch type"""
tool_calls: list[ToolCallBlock]
"""The list of tool calls in the batch."""
|