class qveris.Message(*, role: str, content: str | None = None, tool_calls: List[Dict[str, Any]] | None = None, tool_call_id: str | None = None, name: str | None = None, reasoning_details: Any | None = None, **extra_data: Any)
model_post_init(context: Any, /) → None
This function is meant to behave like a BaseModel method to initialise private attributes.
It takes context as an argument since that's what pydantic-core passes when calling it.
- 参数:
- self -- The BaseModel instance.
- context -- The context.
