@mastra/agent-builder 1.2.2-alpha.2 → 1.2.3-alpha.0

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 CHANGED
@@ -621,7 +621,7 @@ const createModelInstance = async (provider, modelId, version = "v2") => {
621
621
  return null;
622
622
  }
623
623
  };
624
- const resolveModel = async ({ requestContext, defaultModel = "openai/gpt-4.1", projectPath }) => {
624
+ const resolveModel = async ({ requestContext, defaultModel = "openai/gpt-6-luna", projectPath }) => {
625
625
  const modelFromContext = requestContext.get("model");
626
626
  if (modelFromContext) {
627
627
  console.info("Using model from request context");
@@ -848,7 +848,7 @@ export const weatherAgent = new Agent({
848
848
  id: 'weather-agent',
849
849
  name: 'Weather Agent',
850
850
  instructions: \${instructions},
851
- model: openai('gpt-4o-mini'),
851
+ model: openai('gpt-6-luna'),
852
852
  tools: { weatherTool },
853
853
  memory: new Memory({
854
854
  storage: new LibSQLStore({
@@ -3200,7 +3200,7 @@ const discoverUnitsStep = createStep({
3200
3200
  const model = await resolveModel({
3201
3201
  requestContext,
3202
3202
  projectPath: targetPath,
3203
- defaultModel: openai("gpt-4.1")
3203
+ defaultModel: openai("gpt-6-luna")
3204
3204
  });
3205
3205
  try {
3206
3206
  const agent = new Agent({
@@ -3901,7 +3901,7 @@ const intelligentMergeStep = createStep({
3901
3901
  const model = await resolveModel({
3902
3902
  requestContext,
3903
3903
  projectPath: targetPath,
3904
- defaultModel: openai("gpt-4.1")
3904
+ defaultModel: openai("gpt-6-luna")
3905
3905
  });
3906
3906
  const copyFileTool = createTool({
3907
3907
  id: "copy-file",
@@ -4178,7 +4178,7 @@ const validationAndFixStep = createStep({
4178
4178
  const model = await resolveModel({
4179
4179
  requestContext,
4180
4180
  projectPath: targetPath,
4181
- defaultModel: openai("gpt-4.1")
4181
+ defaultModel: openai("gpt-6-luna")
4182
4182
  });
4183
4183
  const allTools = await AgentBuilderDefaults.listToolsForMode(targetPath, "template");
4184
4184
  const validationAgent = new Agent({
@@ -4564,7 +4564,7 @@ const determineConflictStrategy = (_unit, _targetFile) => {
4564
4564
  const shouldAbortWorkflow = (stepResult) => {
4565
4565
  return stepResult?.success === false || stepResult?.error;
4566
4566
  };
4567
- // ../_vendored/ai_v5/dist/dist-BESblyT5.js
4567
+ // ../_vendored/ai_v5/dist/dist-DIfsHMRS.js
4568
4568
  var marker$1 = "vercel.ai.error";
4569
4569
  var symbol$1 = Symbol.for(marker$1);
4570
4570
  var _a$1;