Skip to content

Commit 391a8a3

Browse files
committed
fix types
1 parent 5934ae5 commit 391a8a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/agent-runtime/src/main-prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function mainPrompt(
112112
max: AgentTemplateTypes.base_max,
113113
experimental: 'base2',
114114
} satisfies Record<CostMode, AgentTemplateType>
115-
)[costMode ?? 'normal']
115+
)[costMode ?? 'normal'] ?? 'base2'
116116
}
117117

118118
mainAgentState.agentType = agentType

0 commit comments

Comments
 (0)