mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 04:10:49 +08:00
refactor: Add GitHub provider check for conversation history
Co-authored-by: ofir-frd <85901822+ofir-frd@users.noreply.github.com>
This commit is contained in:
@ -61,7 +61,8 @@ class PR_LineQuestions:
|
||||
# self.git_provider.publish_comment("Preparing answer...", is_temporary=True)
|
||||
|
||||
# set conversation history if enabled
|
||||
if self.use_conversation_history:
|
||||
# currently only supports GitHub provider
|
||||
if self.use_conversation_history and isinstance(self.git_provider, GithubProvider):
|
||||
self._load_conversation_history()
|
||||
|
||||
self.patch_with_lines = ""
|
||||
|
Reference in New Issue
Block a user