Skip to content

Commit 8a04ff4

Browse files
committed
Fix
1 parent 4fde2f1 commit 8a04ff4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cli/src/utils/implementor-helpers.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ export const getImplementorDisplayName = (
2828
index?: number,
2929
): string => {
3030
let baseName = 'Implementor'
31-
// Check editor-implementor2-* patterns first (more specific)
32-
if (
33-
agentType.includes('editor-implementor2-opus') ||
34-
agentType.includes('editor-implementor2')
35-
) {
36-
baseName = 'Opus'
37-
} else if (agentType.includes('editor-implementor2-gpt-5')) {
31+
// Check most specific patterns first (editor-implementor2-* with model suffix)
32+
if (agentType.includes('editor-implementor2-gpt-5')) {
3833
baseName = 'GPT-5.2'
34+
} else if (agentType.includes('editor-implementor2-opus')) {
35+
baseName = 'Opus'
3936
} else if (agentType.includes('editor-implementor2-sonnet')) {
4037
baseName = 'Sonnet'
38+
} else if (agentType.includes('editor-implementor2')) {
39+
// Generic editor-implementor2 defaults to Opus
40+
baseName = 'Opus'
4141
// Then check editor-implementor-* patterns (less specific)
42+
} else if (agentType.includes('editor-implementor-gpt-5')) {
43+
baseName = 'GPT-5'
4244
} else if (agentType.includes('editor-implementor-opus')) {
4345
baseName = 'Opus'
4446
} else if (agentType.includes('editor-implementor-gemini')) {
4547
baseName = 'Gemini'
46-
} else if (agentType.includes('editor-implementor-gpt-5')) {
47-
baseName = 'GPT-5'
4848
} else if (agentType.includes('editor-implementor')) {
4949
baseName = 'Sonnet'
5050
}

0 commit comments

Comments
 (0)