Skip to content

Frontend assistant

AssistantBeingModifiedState

Bases: BeingModifiedStateBase, MyState

Frontend state for Assistant being modified.

Exclusively responsible for frontend behaviour. Any backend interaction is handled in event_handling.py and updates are propagated to here.

agent_selector class-attribute

conf_id = rx.field(None) class-attribute instance-attribute

modifiable_values = AssistantModifiableValues() class-attribute instance-attribute

agent_selected_handler() async

create(*, agent_options_loader) classmethod

Creates the default layout for modifying an assistant.

on_load() async

set_as_tool_description(value)

set_max_steps(value)

update(update) async

AssistantModifiableValues

Bases: ModifiableValuesBase

agent_conf_id = RxConfigID(name='Default', type_=ConfigType.GLOBAL) class-attribute instance-attribute

as_tool_description = '' class-attribute instance-attribute

langgraph_settings = RxLanggraphSettings() class-attribute instance-attribute