(
self, prompt: str, config: dict, schema: Optional[Type[BaseModel]] = None
)
| 43 | """ |
| 44 | |
| 45 | def __init__( |
| 46 | self, prompt: str, config: dict, schema: Optional[Type[BaseModel]] = None |
| 47 | ): |
| 48 | self.max_results = config.get("max_results", 3) |
| 49 | |
| 50 | self.copy_config = safe_deepcopy(config) |
| 51 | self.copy_schema = deepcopy(schema) |
| 52 | self.considered_urls = [] # New attribute to store URLs |
| 53 | |
| 54 | super().__init__(prompt, config, schema) |
| 55 | |
| 56 | def _create_graph(self) -> BaseGraph: |
| 57 | """ |
nothing calls this directly
no test coverage detected