Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.56 KB

File metadata and controls

33 lines (24 loc) · 1.56 KB

ThreadMessageDetails

Properties

Name Type Description Notes
parts List[TextPartOrReasoningPartOrToolPartOrDocEditPart] [optional]
usage MessageUsage [optional]
steps List[Step] [optional]
checkpoint CheckpointDetails Agent history checkpoint. Present only on role=SYSTEM messages written by the agent's archival path. [optional]
model_id str Model registry id (FE-stable, e.g. ``qwen-flash``) that produced this assistant message. ``None`` for legacy rows that pre-date model selection. [optional]

Example

from ksapi.models.thread_message_details import ThreadMessageDetails

# TODO update the JSON string below
json = "{}"
# create an instance of ThreadMessageDetails from a JSON string
thread_message_details_instance = ThreadMessageDetails.from_json(json)
# print the JSON string representation of the object
print(ThreadMessageDetails.to_json())

# convert the object into a dict
thread_message_details_dict = thread_message_details_instance.to_dict()
# create an instance of ThreadMessageDetails from a dict
thread_message_details_from_dict = ThreadMessageDetails.from_dict(thread_message_details_dict)

[Back to Model list] [Back to API list] [Back to README]