@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 CHANGED
@@ -1152,7 +1152,7 @@ var AgentRunner = class {
1152
1152
  const effectiveTraceId = options?.traceId ?? runId;
1153
1153
  const maxIterations = options?.maxIterations ?? 10;
1154
1154
  const toolExecutor = options?.toolExecutor;
1155
- const modelName = agent.getModel();
1155
+ const modelName = this._model.modelId;
1156
1156
  const agentTools = agent.getTools();
1157
1157
  const tools = this.convertTools(agent, toolExecutor);
1158
1158
  const hasTools = agentTools.length > 0;
@@ -1434,7 +1434,7 @@ var AgentRunner = class {
1434
1434
  const maxIterations = options?.maxIterations ?? 10;
1435
1435
  const toolExecutor = options?.toolExecutor;
1436
1436
  const conversationId = (0, import_ai.generateId)();
1437
- const modelName = agent.getModel();
1437
+ const modelName = this._model.modelId;
1438
1438
  const agentTools = agent.getTools();
1439
1439
  const tools = this.convertTools(agent, toolExecutor);
1440
1440
  const hasTools = agentTools.length > 0;