Commit 6991014
authored
fix(prompt): update roleDefinition assignment in generatePrompt
- Swap the order of roleDefinition assignment to prioritize modeConfig’s roleDefinition.
- Add optional chaining to modeConfig to safely handle undefined values.1 parent 3917371 commit 6991014
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments