OLLMchat.History.SessionBase.SessionBase – ollmchat Reference Manual
Packages
ollmchat
OLLMchat
History
SessionBase
agent
agent_name
child_chats
css_classes
display_date
display_info
display_title
duration_seconds
fid
has_unread
id
is_active
is_running
manager
messages
model
model_usage
title
total_messages
total_tokens
unread_count
updated_at_timestamp
SessionBase
activate
activate_agent
activate_model
add_message
cancel_current_request
deactivate
deserialize_property
handle_stream_chunk
handle_stream_started
handle_tool_message
load
on_message_created
read
reconstruct_model_usage_from_model
saveToDB
save_async
send
serialize_property
task_dir
to_path
to_string
write
SessionBase
Description:
protected
SessionBase
(
Manager
manager)
Constructor for base class.
Parameters:
manager
The history manager (can be set via construct property)