MCPcopy
hub / github.com/zai-org/Open-AutoGLM / ModelResponse

Class ModelResponse

phone_agent/model/client.py:29–38  ·  view source on GitHub ↗

Response from the AI model.

Source from the content-addressed store, hash-verified

27
28@dataclass
29class ModelResponse:
30 """Response from the AI model."""
31
32 thinking: str
33 action: str
34 raw_content: str
35 # Performance metrics
36 time_to_first_token: float | None = None # Time to first token (seconds)
37 time_to_thinking_end: float | None = None # Time to thinking end (seconds)
38 total_time: float | None = None # Total inference time (seconds)
39
40
41class ModelClient:

Callers 1

requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected