Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions src/converters/_agentengines_converters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,17 @@ export function reasoningEngineContextSpecFromVertex(
);
}

const fromExampleStoreConfig = common.getValueByPath(fromObject, [
'exampleStoreConfig',
]);
if (fromExampleStoreConfig != null) {
common.setValueByPath(
toObject,
['exampleStoreConfig'],
fromExampleStoreConfig,
);
}

return toObject;
}

Expand Down Expand Up @@ -527,6 +538,17 @@ export function reasoningEngineContextSpecToVertex(
);
}

const fromExampleStoreConfig = common.getValueByPath(fromObject, [
'exampleStoreConfig',
]);
if (fromExampleStoreConfig != null) {
common.setValueByPath(
toObject,
['exampleStoreConfig'],
fromExampleStoreConfig,
);
}

return toObject;
}

Expand Down Expand Up @@ -598,6 +620,30 @@ export function reasoningEngineFromVertex(
common.setValueByPath(toObject, ['trafficConfig'], fromTrafficConfig);
}

const fromExperimentConfig = common.getValueByPath(fromObject, [
'experimentConfig',
]);
if (fromExperimentConfig != null) {
common.setValueByPath(toObject, ['experimentConfig'], fromExperimentConfig);
}

const fromRevisionGarbageCollectionStrategy = common.getValueByPath(
fromObject,
['revisionGarbageCollectionStrategy'],
);
if (fromRevisionGarbageCollectionStrategy != null) {
common.setValueByPath(
toObject,
['revisionGarbageCollectionStrategy'],
fromRevisionGarbageCollectionStrategy,
);
}

const fromUrl = common.getValueByPath(fromObject, ['url']);
if (fromUrl != null) {
common.setValueByPath(toObject, ['url'], fromUrl);
}

return toObject;
}

Expand Down
Loading
Loading