Skip to content

feat: add RESPONSE_MODE env var to toggle metadata-only responses (#125)#231

Open
JaydenB112 wants to merge 2 commits into
firecrawl:mainfrom
JaydenB112:feat/response-mode-toggle
Open

feat: add RESPONSE_MODE env var to toggle metadata-only responses (#125)#231
JaydenB112 wants to merge 2 commits into
firecrawl:mainfrom
JaydenB112:feat/response-mode-toggle

Conversation

@JaydenB112

Copy link
Copy Markdown

Adresses (#125 part two) - Adds a RESPONSE_MODE environment variable with two options:

  • full — default behavior, returns complete response content
  • metadata — strips content fields (markdown, html, rawHtml) and returns metadata only (url, title, statusCode)

Works alongside MAX_RESPONSE_CHARS from #230 to give users full control over response size and content in LLM contexts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant