Skip to main content

Overview

Agent Fallback are mechanisms that allow you to gracefully handle script execution failures without any additional code:
agent_fallback.py
They ensure your scripts always terminate successfully even if the website changes or something unexpected happens.

Parameters

session
RemoteSession
required
task
str
required
response_format
UnionType[type[BaseModel], None]
default:"None"
reasoning_model
notte_core.common.config.LlmModel | str
The language model to use for agent reasoning.
use_vision
bool
Whether to enable vision capabilities for the agent.
max_steps
int
Maximum number of steps the agent can take.
vault_id
str | None
Optional ID of the vault to use.
persona_id
str | None
notifier_config
dict[str, typing.Any] | None
Config used for the notifier.