Repository navigation
ADFA-7340 AI Agent Gemini 1.1.1, AI Agent Claude 1.0.1: say why turns still need merging #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
davidschachterADFA
wants to merge
7
commits into
main
Choose a base branch
from
ai-agent-gemini/ADFA-7340
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
75e5bd5
ADFA-7340 AI-Agent-Gemini: say why turns still need merging
davidschachterADFA 8d22cfd
ADFA-7340 AI-Agent-Gemini: version 1.1.1
davidschachterADFA b91dc64
ADFA-7340 AI-Agent-Gemini: name the restore as the other reason turns…
davidschachterADFA a6c511a
ADFA-7340 AI-Agent-Gemini, AI-Agent-Claude: the real reasons turns re…
davidschachterADFA 803c6b8
ADFA-7340 AI-Agent-Claude: version 1.0.1
davidschachterADFA 30e8606
ADFA-7340 AI-Agent-Gemini, AI-Agent-Claude: a reply with no text and …
davidschachterADFA e601ddf
ADFA-7340 Gemini and Claude KDoc: hold whether or not AI Core stores …
davidschachterADFA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MINOR: The reworded comment says AI Core stores no assistant turn for a reply with no text and no call, which reads as if a call-only reply is stored; at this PR's head and on main it is not.
AgentLoop.kt:300 only stores a turn when historyText is non-blank, and a native call with no prose has a blank one, so the call-only reply is also dropped and the user message and tool results sit adjacent. Only #188 (c3eed33, bareCallTurn) changes that. The PR body says it merges any time and the comments hold either way, but before #188 lands this comment omits the most common cause of repeated roles, and a reader will think the merge is needed only for the rare cases.
Fix: merge after #188, or add 'and, until addons #188, a reply that carried only a native call' to the comment.
Generated by Claude Code