improvement(byok): remove web search block exa#2579
Merged
icecrasher321 merged 4 commits intostagingfrom Dec 25, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryRemoved Exa from BYOK (Bring Your Own Key) system - users can now only use platform Exa API key with standard pricing. Fixed autolayout error by wrapping Panel component in Major Changes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant BYOK_UI as BYOK Settings UI
participant Search_Tool as Search Tool
participant Search_API as Search API Route
participant Exa as Exa API
Note over User,Exa: Before: BYOK for Exa
User->>BYOK_UI: Configure Exa API key
BYOK_UI->>Search_API: workspaceId in request
Search_API->>Search_API: Check BYOK key
Search_API->>Exa: Use workspace key
Note over User,Exa: After: Platform Exa Only
User->>Search_Tool: Use search block
Search_Tool->>Search_API: query only (no workspaceId)
Search_API->>Exa: Use platform env.EXA_API_KEY
Exa-->>Search_API: Results
Search_API-->>User: Results + SEARCH_TOOL_COST
Note over User,Exa: ReactFlowProvider Fix
User->>User: Load error/empty page
User->>User: Panel renders
User->>User: useAutoLayout hook called
Note right of User: Panel needs ReactFlowProvider<br/>for useReactFlow hook
|
Contributor
There was a problem hiding this comment.
Additional Comments (1)
-
apps/sim/lib/api-key/byok.ts, line 9 (link)logic: 'exa' still included in type definition but removed elsewhere
8 files reviewed, 1 comment
Collaborator
Author
|
@greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Can always use Exa block directly. Minor UX changes along with it.
Fix autolayout error
Type of Change
Testing
Tested manually
Checklist