DEV3-4782: Generalize GitHub Action to support custom prompts and comment prefixes#29
Open
Pavel-tabnine wants to merge 1 commit intomainfrom
Open
DEV3-4782: Generalize GitHub Action to support custom prompts and comment prefixes#29Pavel-tabnine wants to merge 1 commit intomainfrom
Pavel-tabnine wants to merge 1 commit intomainfrom
Conversation
…ment prefixes - Add prompt_override input to replace the default code review prompt - Add step_name input to customize the agent step display name - Add comment_prefix input to isolate bot comments per action invocation - Generalize action name/description to 'Tabnine PR Agent' - Harden jq cleanup filter using env.COMMENT_PREFIX instead of interpolation - Thread comment_prefix through all references in the default prompt
sthuck
approved these changes
Apr 16, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Make the tabnine-pr-agent GitHub Action generic so it can be used for any Tabnine CLI Agent task, not just code review.
Changes
prompt_overrideinput to replace the default code review prompt with a custom onestep_nameinput to customize the agent step display namecomment_prefixinput to isolate bot comments per action invocation (used for cleanup)env.COMMENT_PREFIXcomment_prefixthrough all hardcoded references in the default prompt to keep cleanup and comment posting in syncAll new inputs are optional with backward-compatible defaults — existing consumers require zero changes.
Jira
DEV3-4782