mirror of
https://github.com/stablyai/orca.git
synced 2026-10-24 16:03:45 +00:00
fix(source-control): preserve Pi configured default intent
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user