@compilr-dev/factory 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -202,8 +202,7 @@ function createResearchModelUpdateTool(config) {
|
|
|
202
202
|
description: 'Claim object for claim_add. Must include "statement". Optional: evidenceStrength, type.',
|
|
203
203
|
},
|
|
204
204
|
sourceRef: {
|
|
205
|
-
type: 'object',
|
|
206
|
-
additionalProperties: true,
|
|
205
|
+
oneOf: [{ type: 'object', additionalProperties: true }, { type: 'string' }],
|
|
207
206
|
description: 'Source reference for claim_link_source. Must include "sourceId". Optional: location, relevance.',
|
|
208
207
|
},
|
|
209
208
|
relation: {
|
|
@@ -216,8 +215,7 @@ function createResearchModelUpdateTool(config) {
|
|
|
216
215
|
description: 'Source ID (for source_update, source_remove, claim_unlink_source).',
|
|
217
216
|
},
|
|
218
217
|
source: {
|
|
219
|
-
type: 'object',
|
|
220
|
-
additionalProperties: true,
|
|
218
|
+
oneOf: [{ type: 'object', additionalProperties: true }, { type: 'string' }],
|
|
221
219
|
description: 'Source object for source_add. Must include "citeKey" and "citation" (with title, authors, year, type).',
|
|
222
220
|
},
|
|
223
221
|
questionId: {
|