Skip to content

AIResponse

llmfy.llmfy_core.responses.ai_response

AIResponse

Bases: BaseModel

AIResponse Class

Source code in llmfy/llmfy_core/responses/ai_response.py
class AIResponse(BaseModel):
    """AIResponse Class"""

    model_config = ConfigDict(extra="forbid")
    content: Optional[str] = None
    tool_calls: Optional[List[ToolCall]] = None

model_config = ConfigDict(extra='forbid') class-attribute instance-attribute

content = None class-attribute instance-attribute

tool_calls = None class-attribute instance-attribute