agentscope.constants module

Some constants used in the project

class agentscope.constants.ResponseFormat(value)[源代码]

基类:IntEnum

Enum for model response format.

NONE = 0
JSON = 1
class agentscope.constants.ShrinkPolicy(value)[源代码]

基类:IntEnum

Enum for shrink strategies when the prompt is too long.

TRUNCATE = 0
SUMMARIZE = 1