mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +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)
|
# self.git_provider.publish_comment("Preparing answer...", is_temporary=True)
|
||||||
|
|
||||||
# set conversation history if enabled
|
# 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._load_conversation_history()
|
||||||
|
|
||||||
self.patch_with_lines = ""
|
self.patch_with_lines = ""
|
||||||
|
Reference in New Issue
Block a user