File tree Expand file tree Collapse file tree
backend/apps/cloud/src/ai Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { PlanFeatureCode } from '../user/entities/user.entity'
2929
3030const OPENROUTER_BASE_URL = 'https://openrouter.ai/api/v1'
3131
32- const PRIMARY_MODEL = 'anthropic/claude-haiku-4.5 '
32+ const PRIMARY_MODEL = 'openai/gpt-5.6-luna '
3333const TITLE_MODEL = 'google/gemini-3.1-flash-lite-preview'
3434
3535const ALLOWED_FILTER_COLUMNS = new Set ( [
@@ -382,6 +382,11 @@ export class AiService {
382382 messages,
383383 tools : this . buildTools ( project , timezone ) ,
384384 stopWhen : stepCountIs ( 15 ) ,
385+ // Kept low deliberately: reasoning tokens bill at the output rate and
386+ // delay the first streamed token, and this loop can run 15 steps.
387+ providerOptions : {
388+ openai : { reasoningEffort : 'low' } ,
389+ } ,
385390 } )
386391
387392 return result
You can’t perform that action at this time.
0 commit comments