@agentic-patterns/runtime 0.1.5 → 0.1.6
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -984,7 +984,7 @@ var AgentRunner = class {
|
|
|
984
984
|
const effectiveTraceId = options?.traceId ?? runId;
|
|
985
985
|
const maxIterations = options?.maxIterations ?? 10;
|
|
986
986
|
const toolExecutor = options?.toolExecutor;
|
|
987
|
-
const modelName =
|
|
987
|
+
const modelName = this._model.modelId;
|
|
988
988
|
const agentTools = agent.getTools();
|
|
989
989
|
const tools = this.convertTools(agent, toolExecutor);
|
|
990
990
|
const hasTools = agentTools.length > 0;
|
|
@@ -1266,7 +1266,7 @@ var AgentRunner = class {
|
|
|
1266
1266
|
const maxIterations = options?.maxIterations ?? 10;
|
|
1267
1267
|
const toolExecutor = options?.toolExecutor;
|
|
1268
1268
|
const conversationId = generateId2();
|
|
1269
|
-
const modelName =
|
|
1269
|
+
const modelName = this._model.modelId;
|
|
1270
1270
|
const agentTools = agent.getTools();
|
|
1271
1271
|
const tools = this.convertTools(agent, toolExecutor);
|
|
1272
1272
|
const hasTools = agentTools.length > 0;
|