Skip to content

Page

agent_customizer_parts = create_customizer(select_component_class=AgentCombinedSelectComponent, id_prefix='agent', select_options_loader=AllLoaders.get_agent_options_loader, being_modified_state_class=AgentBeingModifiedState, being_modified_create_kwargs={'options_options_loader': AllLoaders.get_options_options_loader}, customizer_state_class=AgentCustomizerState, layout_func=partial(customizer_layout, 'Customize Agent')) module-attribute

assistant_customizer_parts = create_customizer(select_component_class=AssistantCombinedSelectComponent, id_prefix='assistant', select_options_loader=AllLoaders.get_assistant_options_loader, being_modified_state_class=AssistantBeingModifiedState, being_modified_create_kwargs={'agent_options_loader': AllLoaders.get_agent_options_loader}, customizer_state_class=AssistantCustomizerState, layout_func=partial(customizer_layout, 'Customize Assistant')) module-attribute

logger = logging.getLogger(__name__) module-attribute

options_customizer_parts = create_customizer(select_component_class=OptionsCombinedSelectComponent, id_prefix='options', select_options_loader=AllLoaders.get_options_options_loader, being_modified_state_class=OptionsBeingModifiedState, being_modified_create_kwargs={}, customizer_state_class=OptionsCustomizerState, layout_func=partial(customizer_layout, 'Customize Options')) module-attribute

DebugState

Bases: MyState

debug_logs = [] class-attribute instance-attribute

create() classmethod

print_full_options() async

FullPageEvents

Bases: MyState

Handler for events that are for the full page (not specific to any specific customizer).

all_name = rx.field('') class-attribute instance-attribute

choices_selector class-attribute

user_or_global = rx.field('User') class-attribute instance-attribute

user_or_global_type property

create(choices_loader) classmethod

Layout for the events that are shared by all customizers.

E.g., Full new save, Full delete.

create_full_assistant() async

Add a new assistant, agent, and options schema.

delete_full_assistant() async

Delete the selected assistant, agent, and options schema.

on_load() async

selection_handler() async

Triggered on selection of new assistant.

set_all_name(value)

set_user_or_global(value)

render_page()