Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview This ensures operations that require a document (e.g. Reviewed by Cursor Bugbot for commit aa879f5. Configure here. |
Greptile SummaryThis PR fixes the Confidence Score: 5/5Safe to merge — minimal, targeted fix with no risk of regression. The change adds two missing metadata properties to a single subblock definition. It only affects the basic-mode document-selector UI, doesn't touch execution logic, and the underlying tool params/validation path is unchanged. No files require special attention.
|
| Filename | Overview |
|---|---|
| apps/sim/blocks/blocks/knowledge.ts | Adds serviceId and selectorKey to the documentSelector subblock so the document-selector UI properly fetches documents for chunk and document operations in basic mode. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User selects operation] --> B{Requires a document?}
B -- yes --> C[Show documentSelector subblock]
B -- no --> D[Skip documentSelector]
C --> E{UI mode}
E -- basic --> F[document-selector with serviceId and selectorKey]
E -- advanced --> G[Manual short-input for documentId]
F --> H[Resolved to canonicalParamId documentId]
G --> H
H --> I[tools.config.params validates documentId]
I --> J[Execute knowledge tool]
Reviews (1): Last reviewed commit: "fix(kb): doc selector" | Re-trigger Greptile
Summary
KB doc selector for tools like upload chunk not keyed in
Type of Change
Testing
Tested manually
Checklist