MCPcopy Create free account
hub / github.com/Tencent/digitalhuman / Response

Class Response

SWF/src/base.py:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26@dataclass
27class Response:
28 role: str # ordinator or sub agent
29 raw: str # the raw content of the response
30 content: Union[str, Dict] # the extracted content of the raw content
31 end: bool # True for ending, False for not ending
32 usage: List[int]
33 cost: float
34
35
36@dataclass

Callers 9

stepMethod · 0.90
look_up_cacheMethod · 0.85
_task_assignMethod · 0.85
_task_assignMethod · 0.85
_task_assignMethod · 0.85
_task_assignMethod · 0.85
_task_assignMethod · 0.85
_task_assignMethod · 0.85
_task_assignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected