fix(evidence): validate curated runtime corpus
This commit is contained in:
@@ -174,7 +174,10 @@ function renderEvidence(
|
||||
}
|
||||
|
||||
return {
|
||||
evidence: { sources: [renderedSource] },
|
||||
evidence: {
|
||||
...(workspace.evidence.schema_version === 2 ? { schema_version: 2 } : {}),
|
||||
sources: [renderedSource],
|
||||
},
|
||||
vector: {
|
||||
max_chunk_chars: workspace.evidence.policy.max_chunk_chars,
|
||||
retain_published_generations: workspace.evidence.policy.retain_published_generations,
|
||||
|
||||
Reference in New Issue
Block a user