Skip to content

Prototype TinFoil-backed web search flow#169

Draft
AnthonyRonning wants to merge 1 commit into
masterfrom
prototype/tinfoil-web-search
Draft

Prototype TinFoil-backed web search flow#169
AnthonyRonning wants to merge 1 commit into
masterfrom
prototype/tinfoil-web-search

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Contributor

Summary

  • prototype replacing the Brave search execution path with a TinFoil chat-completions web-search subagent while keeping the existing search-needed classifier
  • format TinFoil search output into the existing internal tool-result flow, with Brave/Kagi fallback for failures
  • route web-search completion requests through the experimental tinfoil-proxy upstream and refresh the checked-in proxy binary

Notes

  • this is a proof of concept we can keep iterating on tomorrow
  • Tinfoil is investigating stale Exa results and additional date/context handling, so more follow-up changes are expected
  • kept as a draft PR intentionally while we continue validating the approach

Validation

  • cargo test --manifest-path "/Users/tony/Dev/OpenSecret/opensecret/Cargo.toml"
  • cd "/Users/tony/Dev/OpenSecret/opensecret/tinfoil-proxy" && go test ./...

Stage a proof-of-concept that routes Maple web search through TinFoil while preserving classifier gating and a legacy fallback path for later iteration.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Apr 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 178bafae-7e6e-4cc4-a371-2963e9b5ab3a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch prototype/tinfoil-web-search

Comment @coderabbitai help to get the list of available commands and usage tips.

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