5. 自定义状态 通过向状态添加name和birthday键来更新聊天机器人,以研究实体的生日: API Reference: add_messages from typing import Annotated from typing_extensions import TypedDict from langgraph.graph.message import add_messages class State(TypedDict): messages: Annotated[list, add_messages] name: str birthday: str