@inkeep/agents-core 0.0.0-dev-20250920001717 → 0.0.0-dev-20250920002849
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.
- package/dist/index.cjs +6 -6
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5822,17 +5822,17 @@ var updateFullGraphServerSide = (db, logger11 = defaultLogger) => async (scopes,
|
|
|
5822
5822
|
const modelTypes = ["base", "structuredOutput", "summarizer"];
|
|
5823
5823
|
const cascadedModels = { ...finalModelSettings };
|
|
5824
5824
|
for (const modelType of modelTypes) {
|
|
5825
|
-
if (agentModels[modelType]?.model && existingGraphModels?.[modelType]?.model && agentModels[modelType].model === existingGraphModels[modelType].model && graphModels[modelType]
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
};
|
|
5825
|
+
if (agentModels[modelType]?.model && existingGraphModels?.[modelType]?.model && agentModels[modelType].model === existingGraphModels[modelType].model && graphModels[modelType] && // Model name changed
|
|
5826
|
+
(graphModels[modelType].model !== existingGraphModels[modelType].model || // OR providerOptions changed
|
|
5827
|
+
JSON.stringify(graphModels[modelType].providerOptions) !== JSON.stringify(existingGraphModels[modelType].providerOptions))) {
|
|
5828
|
+
cascadedModels[modelType] = graphModels[modelType];
|
|
5830
5829
|
logger11.info(
|
|
5831
5830
|
{
|
|
5832
5831
|
agentId,
|
|
5833
5832
|
modelType,
|
|
5834
5833
|
oldModel: agentModels[modelType].model,
|
|
5835
|
-
newModel: graphModels[modelType].model
|
|
5834
|
+
newModel: graphModels[modelType].model,
|
|
5835
|
+
hasProviderOptions: !!graphModels[modelType].providerOptions
|
|
5836
5836
|
},
|
|
5837
5837
|
"Cascading model change from graph to agent"
|
|
5838
5838
|
);
|
package/dist/index.js
CHANGED
|
@@ -4082,17 +4082,17 @@ var updateFullGraphServerSide = (db, logger11 = defaultLogger) => async (scopes,
|
|
|
4082
4082
|
const modelTypes = ["base", "structuredOutput", "summarizer"];
|
|
4083
4083
|
const cascadedModels = { ...finalModelSettings };
|
|
4084
4084
|
for (const modelType of modelTypes) {
|
|
4085
|
-
if (agentModels[modelType]?.model && existingGraphModels?.[modelType]?.model && agentModels[modelType].model === existingGraphModels[modelType].model && graphModels[modelType]
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
};
|
|
4085
|
+
if (agentModels[modelType]?.model && existingGraphModels?.[modelType]?.model && agentModels[modelType].model === existingGraphModels[modelType].model && graphModels[modelType] && // Model name changed
|
|
4086
|
+
(graphModels[modelType].model !== existingGraphModels[modelType].model || // OR providerOptions changed
|
|
4087
|
+
JSON.stringify(graphModels[modelType].providerOptions) !== JSON.stringify(existingGraphModels[modelType].providerOptions))) {
|
|
4088
|
+
cascadedModels[modelType] = graphModels[modelType];
|
|
4090
4089
|
logger11.info(
|
|
4091
4090
|
{
|
|
4092
4091
|
agentId,
|
|
4093
4092
|
modelType,
|
|
4094
4093
|
oldModel: agentModels[modelType].model,
|
|
4095
|
-
newModel: graphModels[modelType].model
|
|
4094
|
+
newModel: graphModels[modelType].model,
|
|
4095
|
+
hasProviderOptions: !!graphModels[modelType].providerOptions
|
|
4096
4096
|
},
|
|
4097
4097
|
"Cascading model change from graph to agent"
|
|
4098
4098
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20250920002849",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|