MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / get_headers

Method get_headers

AskAgent/python/core/config.py:547–551  ·  view source on GitHub ↗

Get the configured headers to include in responses.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected