mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 04:10:49 +08:00
Add is_auto_command
config check to conditionally publish output and update GitHub App to set this flag
This commit is contained in:
@ -118,7 +118,7 @@ class PRReviewer:
|
||||
f"No files were changed since the [previous PR Review]({previous_review_url})")
|
||||
return None
|
||||
|
||||
if get_settings().config.publish_output:
|
||||
if get_settings().config.publish_output and not get_settings().config.get('is_auto_command', False):
|
||||
self.git_provider.publish_comment("Preparing review...", is_temporary=True)
|
||||
|
||||
await retry_with_fallback_models(self._prepare_prediction)
|
||||
|
Reference in New Issue
Block a user