Skip to content

Commit ad80cee

Browse files
committed
refactor(whatsapp): Update Key model import and field definition
- Update import from `rsb.models.base_model` to `rsb.models` - Add `Field` import from `rsb.models` - Set default empty string for `remoteJidAlt` using `Field(default="")` - Maintain existing model structure and attributes
1 parent d00d201 commit ad80cee

File tree

1 file changed

+2
-2
lines changed
  • agentle/agents/whatsapp/models

1 file changed

+2
-2
lines changed

agentle/agents/whatsapp/models/key.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from rsb.models.base_model import BaseModel
1+
from rsb.models import BaseModel, Field
22

33

44
class Key(BaseModel):
@@ -11,6 +11,6 @@ class Key(BaseModel):
1111
"""
1212

1313
remoteJid: str
14-
remoteJidAlt: str
14+
remoteJidAlt: str = Field(default="")
1515
fromMe: bool
1616
id: str

0 commit comments

Comments
 (0)