From 663bafdb41ef9c9eb797b48f15f0810705a5460f Mon Sep 17 00:00:00 2001 From: dal Date: Fri, 8 Aug 2025 14:21:51 -0600 Subject: [PATCH] dumb down and make smarter --- .../analysis-type-router-step/analysis-type-router-step.ts | 4 ++-- packages/ai/src/steps/create-todos-step.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ai/src/steps/analyst-agent/analysis-type-router-step/analysis-type-router-step.ts b/packages/ai/src/steps/analyst-agent/analysis-type-router-step/analysis-type-router-step.ts index d29652cbd..fea1bcf11 100644 --- a/packages/ai/src/steps/analyst-agent/analysis-type-router-step/analysis-type-router-step.ts +++ b/packages/ai/src/steps/analyst-agent/analysis-type-router-step/analysis-type-router-step.ts @@ -5,7 +5,7 @@ import { generateObject } from 'ai'; import { wrapTraced } from 'braintrust'; import { z } from 'zod'; import { thinkAndPrepWorkflowInputSchema } from '../../../schemas/workflow-schemas'; -import { GPT5Nano } from '../../../utils/models/gpt-5-nano'; +import { GPT5Mini } from '../../../utils/models/gpt-5-mini'; import { appendToConversation, standardizeMessages } from '../../../utils/standardizeMessages'; import type { AnalystRuntimeContext } from '../../../workflows/analyst-workflow'; import { formatAnalysisTypeRouterPrompt } from './format-analysis-type-router-prompt'; @@ -68,7 +68,7 @@ const execution = async ({ const tracedAnalysisType = wrapTraced( async () => { const { object } = await generateObject({ - model: GPT5Nano, + model: GPT5Mini, schema: analysisTypeSchema, messages: [ { diff --git a/packages/ai/src/steps/create-todos-step.ts b/packages/ai/src/steps/create-todos-step.ts index a78ca5437..1a94560c6 100644 --- a/packages/ai/src/steps/create-todos-step.ts +++ b/packages/ai/src/steps/create-todos-step.ts @@ -8,7 +8,7 @@ import { thinkAndPrepWorkflowInputSchema } from '../schemas/workflow-schemas'; import { createTodoList } from '../tools/planning-thinking-tools/create-todo-item-tool'; import { ChunkProcessor } from '../utils/database/chunk-processor'; import { ReasoningHistorySchema } from '../utils/memory/types'; -import { GPT5 } from '../utils/models/gpt-5'; +import { GPT5Mini } from '../utils/models/gpt-5-mini'; import { RetryWithHealingError, isRetryWithHealingError } from '../utils/retry'; import { appendToConversation, standardizeMessages } from '../utils/standardizeMessages'; import { createOnChunkHandler } from '../utils/streaming'; @@ -198,7 +198,7 @@ const DEFAULT_OPTIONS = { export const todosAgent = new Agent({ name: 'Create Todos', instructions: todosInstructions, - model: GPT5, + model: GPT5Mini, tools: { createTodoList, },