fix(source-control): preserve Pi configured default intent

This commit is contained in:
Brennan Benson
2026-08-23 14:32:46 -07:00
parent afa37dd61e
commit ce508dc3f5
18 changed files with 581 additions and 165 deletions
+7 -1
View File
@@ -107,7 +107,7 @@ const CLAUDE_THINKING_LEVELS: ThinkingLevel[] = [
{ id: 'max', label: 'Max' }
]
const PI_DEFAULT_MODEL_ID = 'default'
export const PI_DEFAULT_MODEL_ID = 'default'
/**
* The model id Orca used to persist for Pi before `Pi default` existed. Orca itself
@@ -157,6 +157,12 @@ function withOpenAiThinking(
: {}
}
export const PI_COMPATIBILITY_MODEL: CommitMessageModel = {
id: PI_RETIRED_COPILOT_DEFAULT_MODEL_ID,
label: 'Github Copilot GPT 5.4 Mini',
...withOpenAiThinking('gpt-5.4-mini')
}
export function parseClaudeModels(stdout: string): CommitMessageModel[] {
return uniqueModels(
parseClaudeModelList(stdout).map((model) => {