You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(search): no cached member rows with access off, no double enrollment, code-point-safe matching
Surfaces consume member-connector rows only while the feature is on;
the Search page treats an awaited enrollment, including a first
connect, as non-actionable; a refused members-mode sync rolls back only
the member lists; result actions show on pointers without hover; route
error causes go through the redacting describer; the citation template
is valid JSON; term edges and snippet windows respect code points.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/knowledge-search-results/knowledge-search-results.tsx
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -199,10 +199,13 @@ export function KnowledgeSearchResults({
199
199
* the viewer will see, and the list is not worth asking for.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/source-card/source-card.tsx
Copy file name to clipboardExpand all lines: apps/sim/lib/copilot/tools/server/knowledge/knowledge-base.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ const DEFAULT_QUERY_TOP_K = 5
66
66
* a source URL is quoted by name instead.
67
67
*/
68
68
constKNOWLEDGE_CITATION_INSTRUCTION=
69
-
'Cite each result you use inline, right after the sentence it supports, as <source>{"url":<sourceUrl>,"title":<documentName>,"siteName":<knowledgeBaseName>,"connectorType":<connectorType>,"snippet":<the sentence or two of content you relied on>,"updatedAt":<sourceModifiedAt>,"author":<author>}</source>; leave out any optional field whose value is null or unknown, and omit the tag for a result whose sourceUrl is null and name the document instead.'
69
+
'Cite each result you use inline, right after the sentence it supports, as <source>{"url":"<sourceUrl>","title":"<documentName>","siteName":"<knowledgeBaseName>","connectorType":"<connectorType>","snippet":"<the sentence or two of content you relied on>","updatedAt":"<sourceModifiedAt>","author":"<author>"}</source> with every value JSON-escaped; leave out any optional field whose value is null or unknown, and omit the tag for a result whose sourceUrl is null and name the document instead.'
70
70
71
71
/**
72
72
* Resolves an environment-variable reference passed as a connector API key.
0 commit comments