mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-22 00:32:49 +00:00
21 lines
328 B
Python
21 lines
328 B
Python
"""Chunk enumeration module."""
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class ChunkEnum(str, Enum):
|
|
"""Enumeration of possible chunk categories for stream processing."""
|
|
|
|
THINK = "think"
|
|
|
|
CONTENT = "content"
|
|
|
|
TOOL_CALL = "tool_call"
|
|
|
|
TOOL_RESULT = "tool_result"
|
|
|
|
USAGE = "usage"
|
|
|
|
ERROR = "error"
|
|
|
|
DONE = "done"
|