dumb down and make smarter

This commit is contained in:
dal 2025-08-08 14:21:51 -06:00
parent 14092b08be
commit 663bafdb41
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 4 additions and 4 deletions

View File

@ -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: [
{

View File

@ -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,
},