Get the configured headers to include in responses.
(self)
| 545 | # Default instructions if not found in config |
| 546 | |
| 547 | def get_headers(self) -> dict[str, str]: |
| 548 | """Get the configured headers to include in responses.""" |
| 549 | if hasattr(self, 'nlweb') and self.nlweb.headers: |
| 550 | return self.nlweb.headers |
| 551 | return {} |
| 552 | |
| 553 | def get_chatbot_instruction_fallback(self, instruction_type: str = "search_results") -> str: |
| 554 | """Get fallback chatbot instructions.""" |
no outgoing calls
no test coverage detected