Skip to main content

increment_state

Method
This is a method of the AgentTeam class in the agents module.
Increment a numeric state value. Creates the key with default if it doesn’t exist.

Signature

Parameters

str
required
No description available.
float
default:"1"
No description available.
float
default:"0"
No description available.

Returns

float
The result of the operation.

Uses

  • TypeError

Source

View on GitHub

praisonaiagents/agents/agents.py at line 1437