[PR #294] Fix messages missing in prompts in authorship logs #386

Closed
opened 2026-03-02 04:13:28 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/294

State: closed
Merged: Yes


Under certain circumstances, the updated prompts that Git AI did load correctly, were not making it in the final authorship log. This PR fixes and adds a unit test to prevent regressions in the future.

Also, fixes a bug where thinking messages in claude were dropped into prompts as human messages with a corresponding unit test and fixture

**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/294 **State:** closed **Merged:** Yes --- Under certain circumstances, the updated prompts that Git AI did load correctly, were not making it in the final authorship log. This PR fixes and adds a unit test to prevent regressions in the future. Also, fixes a bug where `thinking` messages in claude were dropped into prompts as human messages with a corresponding unit test and fixture
kerem 2026-03-02 04:13:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#386
No description provided.