
    i                     \    d Z ddlmZ ddlmZmZ ddlmZmZm	Z	m
Z
 e G d de             Zy)zHuman node configuration.    )	dataclass)AnyMapping)
BaseConfigConfigFieldSpecoptional_strrequire_mappingc                   n    e Zd ZU dZedz  ed<   edeeef   dz  dedd fd       Z	d e
dddd	d
      iZy)HumanConfigNdescriptiondatapathreturnc                `    |
 | d |      S t        ||      }t        |d|      } | ||      S )N)r   r   r   )r	   r   )clsr   r   mappingr   s        F/Users/bowang/.openclaw/workspace/ChatDev/entity/configs/node/human.py	from_dictzHumanConfig.from_dict   s;    <4d33!$-"7M4@{66    zHuman Task DescriptiontextFz-Description of the task for human to complete)namedisplay_name	type_hintrequiredr   )__name__
__module____qualname__r   str__annotations__classmethodr   r   r   r   FIELD_SPECS r   r   r   r   	   sg    "Kt"7WS#X.5 7 7 7 7 	1G
Kr   r   N)__doc__dataclassesr   typingr   r   entity.configs.baser   r   r   r	   r   r"   r   r   <module>r'      s/     !  Z Z *  r   