File size: 510 Bytes
116524e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Configuration for recursive reflector."""

from dataclasses import dataclass
from typing import Literal

from ...core.recursive_agent import AgenticConfig


@dataclass
class RecursiveConfig(AgenticConfig):
    """Configuration for the Recursive Reflector.



    Inherits all fields from :class:`AgenticConfig`. Overrides

    ``max_output_chars`` for larger trace outputs.

    """

    max_output_chars: int = 50_000
    cache_prompts: bool = True
    cache_ttl: Literal["5m", "1h"] = "5m"