mirror of https://github.com/buster-so/buster.git
dumb down and make smarter
This commit is contained in:
parent
14092b08be
commit
663bafdb41
|
@ -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: [
|
||||
{
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue