Skip to content

Comments

feat(Get-AiMessageForCommit): switch default model to openai/gpt-5-mini and record AI message generation duration#2

Merged
rulasg merged 1 commit intomainfrom
Get-AiMessageForCommit
Sep 4, 2025
Merged

feat(Get-AiMessageForCommit): switch default model to openai/gpt-5-mini and record AI message generation duration#2
rulasg merged 1 commit intomainfrom
Get-AiMessageForCommit

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented Sep 4, 2025

No description provided.

…ni and record AI message generation duration
$sw = [System.Diagnostics.Stopwatch]::StartNew()
$message = gh models run $Model "$usrprompt" --system-prompt $sysPrompt
$sw.Stop()
$global:LastAiMessageDuration = $sw.Elapsed

Check warning

Code scanning / PSScriptAnalyzer

Found global variable 'global:LastAiMessageDuration'. Warning

Found global variable 'global:LastAiMessageDuration'.
@rulasg rulasg merged commit a26e971 into main Sep 4, 2025
3 checks passed
@rulasg rulasg deleted the Get-AiMessageForCommit branch September 4, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant