agentscope.constants module

Some constants used in the project

class agentscope.constants.ResponseFormat(value)[source]

Bases: IntEnum

Enum for model response format.

NONE = 0
JSON = 1
class agentscope.constants.ShrinkPolicy(value)[source]

Bases: IntEnum

Enum for shrink strategies when the prompt is too long.

TRUNCATE = 0
SUMMARIZE = 1