mirror of
https://github.com/ersinkoc/git-commit-time-machine.git
synced 2026-04-27 06:55:53 +03:00
[PR #12] [MERGED] fix: auto-detect AI provider from environment variables and lazy initialize AI assistant #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-commit-time-machine#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ersinkoc/git-commit-time-machine/pull/12
Author: @KilimcininKorOglu
Created: 12/18/2025
Status: ✅ Merged
Merged: 12/18/2025
Merged by: @ersinkoc
Base:
main← Head:main📝 Commits (2)
ed64489fix: auto-detect AI provider from environment variables and lazy initialize AI assistante1bd20etest: update tests to support auto-detected local provider as default📊 Changes
5 files changed (+149 additions, -20 deletions)
View changed files
📝
src/aiCommitAssistant.js(+46 -3)📝
src/index.js(+15 -1)📝
test/aiCommitAssistant.simple.test.js(+40 -7)📝
test/aiCommitAssistant.test.js(+26 -2)📝
test/gitHistoryRewriter.test.js(+22 -7)📄 Description
Summary
[ERROR] API key validation failed:
• OpenAI API key format invalid. Expected: sk-... (48+ chars)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.