MCPcopy
hub / github.com/AstrBotDevs/AstrBot / _model_dict

Function _model_dict

astrbot/dashboard/api/chat.py:65–66  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

63
64
65def _model_dict(payload) -> dict[str, Any]:
66 return payload.model_dump(exclude_unset=True, exclude_none=False)
67
68
69async def _run(operation):

Callers 5

update_chat_messageFunction · 0.70
regenerate_chat_messageFunction · 0.70
create_chat_threadFunction · 0.70
send_chat_thread_messageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected