(self, text: str)
| 25 | self.max_tokens = request_config.get('max_tokens', self.max_tokens) |
| 26 | |
| 27 | def extract_output(self, text: str) -> str: |
| 28 | match = re.search(r'<output>(.*?)(?:</output>|$)', text, re.DOTALL) |
| 29 | return match.group(1).strip() if match else "" |
| 30 | |
| 31 | def _extract_content(self, response, context: str) -> str: |
| 32 | """Validate a provider response and return its message content. |
no test coverage detected