mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-11 11:13:51 +00:00
8 lines
220 B
Python
8 lines
220 B
Python
from pydantic import BaseModel, Field
|
|
|
|
|
|
class TokenUsageConfig(BaseModel):
|
|
"""Configuration for token usage tracking."""
|
|
|
|
enabled: bool = Field(default=True, description="Enable token usage tracking middleware")
|