MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / LLMResponse

Class LLMResponse

src/model/types.py:45–53  ·  view source on GitHub ↗

Wrapper for LLM responses that normalizes output from different APIs.

Source from the content-addressed store, hash-verified

43 parsed_model: Optional[BaseModel] = Field(default=None, description="The parsed model of the content")
44
45class LLMResponse(BaseModel):
46 """
47 Wrapper for LLM responses that normalizes output from different APIs.
48 """
49 model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow")
50
51 success: bool = Field(description="Whether the model call was successful")
52 message: str = Field(description="The message from the model call")
53 extra: Optional[LLMExtra] = Field(default=None, description="The extra data from the model call")
54
55__all__ = ["ModelConfig", "LLMResponse", "LLMExtra"]
56

Callers 15

__call__Method · 0.90
__call__Method · 0.90
_format_responseMethod · 0.90
__call__Method · 0.90
_format_responseMethod · 0.90
_format_responseMethod · 0.90
__call__Method · 0.90
__call__Method · 0.90
_format_responseMethod · 0.90
__call__Method · 0.90
_format_responseMethod · 0.90
_format_responseMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected