Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/backend/src/ai/ai.constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const GPT_MODEL = 'gpt-5.4-mini-2026-03-17';
export const GPT_MODEL = 'gpt-5.6-terra';
export const GPT_IMAGE_MODEL = 'dall-e-3';

export const MAX_AI_REQUESTS_PER_DAY = 5;
Expand Down
3 changes: 3 additions & 0 deletions packages/backend/src/ai/ai.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export class AIService {
instructions: GENERAL_TEXT_INSTRUCTIONS,
input: text,
user: `${userId}-DaBros2016`,
reasoning: { effort: 'medium' },
})
Comment on lines 201 to 205
.then((x) => {
return extractAndParseOpenAiResponse(x);
Expand Down Expand Up @@ -479,6 +480,7 @@ export class AIService {
return this.openAi.responses
.create({
model: GPT_MODEL,
reasoning: { effort: 'medium' },
tools: [{ type: 'web_search_preview' }],
tool_choice: 'auto',
instructions: systemInstructions,
Expand Down Expand Up @@ -580,6 +582,7 @@ export class AIService {
return this.openAi.responses
.create({
model: GPT_MODEL,
reasoning: { effort: 'medium' },
tools: [{ type: 'web_search_preview' }],
tool_choice: 'auto',
instructions: systemInstructions,
Expand Down
Loading