Skip to content

Commit

Permalink
feat: adding description of expected dob format in update_contact tool
Browse files Browse the repository at this point in the history
  • Loading branch information
svange committed Aug 15, 2024
1 parent 92ce139 commit 5bb322b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions openbrain/orm/model_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion openbrain/tools/models/model_leadmo_contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 5bb322b

Please sign in to comment.