@ai-setting/roy-agent-core 1.4.4 → 1.4.9
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.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14568,7 +14568,8 @@ async function invoke(config, options, ctx) {
|
|
|
14568
14568
|
maxRetries: MAX_RETRIES,
|
|
14569
14569
|
streamOptions: {
|
|
14570
14570
|
includeUsage: true
|
|
14571
|
-
}
|
|
14571
|
+
},
|
|
14572
|
+
allowSystemInMessages: true
|
|
14572
14573
|
};
|
|
14573
14574
|
const result = await streamText(streamTextOptions);
|
|
14574
14575
|
let fullContent = "";
|
|
@@ -14751,7 +14752,8 @@ async function invokeNonStream(config, options, ctx) {
|
|
|
14751
14752
|
tools,
|
|
14752
14753
|
temperature: providerOptions.temperature,
|
|
14753
14754
|
maxTokens: providerOptions.maxTokens,
|
|
14754
|
-
abortSignal: ctx.abort
|
|
14755
|
+
abortSignal: ctx.abort,
|
|
14756
|
+
allowSystemInMessages: true
|
|
14755
14757
|
});
|
|
14756
14758
|
const usage = result.usage;
|
|
14757
14759
|
const usageInfo = usage ? {
|
|
@@ -21934,6 +21936,7 @@ Run \`${options.name} --help\` to explore full capabilities.
|
|
|
21934
21936
|
}
|
|
21935
21937
|
}
|
|
21936
21938
|
// packages/core/src/index.ts
|
|
21939
|
+
init_workflow_hil();
|
|
21937
21940
|
init_node_registry_helper();
|
|
21938
21941
|
export {
|
|
21939
21942
|
writeFileTool,
|
|
@@ -22027,6 +22030,7 @@ export {
|
|
|
22027
22030
|
CommandsComponent,
|
|
22028
22031
|
BaseEnvironment,
|
|
22029
22032
|
BaseComponent,
|
|
22033
|
+
AskUserError,
|
|
22030
22034
|
AgentError,
|
|
22031
22035
|
AgentComponentConfigSchema,
|
|
22032
22036
|
AgentComponent
|