Skip to content

developer: use server passage budget from search#843 - #194

Merged
PhantomInTheWire merged 3 commits into
mainfrom
remove-cuts-search-843
Aug 20, 2026
Merged

PhantomInTheWire merged 3 commits into
mainfrom
remove-cuts-search-843

Conversation

@PhantomInTheWire

@PhantomInTheWire PhantomInTheWire commented Aug 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • keep passage sizing as server-side policy, with no client knob
  • stop sending passage_budget on developer-search requests
  • trust server-shaped passage text without a local cut when passage_budget_applied is present
  • retain the 1,200-character fallback when that field is absent, covering old servers and rollout-off responses

Decision: server-side policy, no client knob.

The fallback retains the TODO to remove it after firecrawl/search#843 is enabled everywhere.

Verification

  • pnpm run format:check
  • pnpm run type-check
  • pnpm run build
  • pnpm run test (423 passed)

@PhantomInTheWire

Copy link
Copy Markdown
Member Author

@cubic-dev-ai review

@cubic-dev-ai

cubic-dev-ai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review

@PhantomInTheWire I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread src/index.ts Outdated
@PhantomInTheWire

Copy link
Copy Markdown
Member Author

@cubic-dev-ai review

@cubic-dev-ai

cubic-dev-ai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review

@PhantomInTheWire I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

Re-trigger cubic

@PhantomInTheWire

Copy link
Copy Markdown
Member Author

@cubic-dev-ai review

@cubic-dev-ai

cubic-dev-ai Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review

@PhantomInTheWire I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

@PhantomInTheWire
PhantomInTheWire merged commit ad3e539 into main Aug 20, 2026
8 checks passed
@PhantomInTheWire
PhantomInTheWire deleted the remove-cuts-search-843 branch August 20, 2026 10:16
@PhantomInTheWire PhantomInTheWire mentioned this pull request Aug 20, 2026
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