diff --git a/openbrain/orm/model_client.py b/openbrain/orm/model_client.py index d135279..955f340 100644 --- a/openbrain/orm/model_client.py +++ b/openbrain/orm/model_client.py @@ -2,8 +2,7 @@ from typing import TypeAlias, Optional -from pydantic import BaseModel, Field, Extra -from openbrain.orm.model_agent_config import AgentConfig +from pydantic import BaseModel, Field from openbrain.util import config, Defaults if config.OB_MODE == Defaults.OB_MODE_LOCAL.value: diff --git a/openbrain/tools/models/model_leadmo_contact.py b/openbrain/tools/models/model_leadmo_contact.py index 284d1af..91a4475 100644 --- a/openbrain/tools/models/model_leadmo_contact.py +++ b/openbrain/tools/models/model_leadmo_contact.py @@ -36,7 +36,7 @@ class Config: firstName: Optional[str] = Field(default=None, description="The contact's first name") lastName: Optional[str] = Field(default=None, description="The contact's last name") name: Optional[str] = Field(default=None, description="The contact's full name") - dateOfBirth: Optional[str] = Field(default=None, description="The contact's date of birth. Users must be between 18 and 100 years old.") + dateOfBirth: Optional[str] = Field(default=None, description="The contact's date of birth. Users must be between 18 and 100 years old. Input as YYYY-MM-DD (e.g. 1990-01-01)") phone: Optional[str] = Field(default=None, description="The contact's phone number") email: Optional[str] = Field(default=None, description="The contact's email address") address1: Optional[str] = Field(default=None, description="The contact's address line 1")