delete_state

Delete a state key if it exists. Returns True if deleted, False if key didn't exist.

Method

</div>

This is a method of the Agents class in the agents module.

Delete a state key if it exists. Returns True if deleted, False if key didn’t exist.

Signature

python
def delete_state(key: str) -> bool

Parameters

ParamField str

No description available.

Returns

ResponseField bool

The result of the operation.