Skip to main content
This speaks Simular’s v1/perception/state_satisfies endpoint. It is separate from AskModel, which remains an OpenAI-compatible chat-completions client.

Constructor

Returns

StateSatisfiesModel

Properties

string
required
The provider-configured model identifier.

Methods

availableAliases()

Every state-satisfaction model alias accepted by byAlias on this machine, deduplicated and sorted alphabetically.

Returns

string[]

byAlias()

Resolve a model alias against the loaded config. Throws if the alias is unknown.

Parameters

string
required

Returns

StateSatisfiesModel

checkAuth()

Check that the provider credentials work. Throws if they do not.

default()

First state-satisfaction model advertised by the first capable provider in the loaded configuration whose credentials are currently available. Throws if no provider advertises the state-satisfies service.

Returns

StateSatisfiesModel

simularStateSatisfies()

Convenience shim for the bundled simular_state_satisfies alias.

Returns

StateSatisfiesModel

stateSatisfies()

Evaluate condition against the supplied accessibility text and raw screenshot base64.

Parameters

string
required
string
required
string
required

Returns

boolean