We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c23284 + 04828b1 commit 24883cfCopy full SHA for 24883cf
2 files changed
.github/workflows/bot.yml
@@ -51,4 +51,4 @@ jobs:
51
REPO_NAME: ${{ github.repository }}
52
GITHUB_EVENT_NAME: ${{ github.event_name }}
53
GITHUB_EVENT_PATH: ${{ github.event_path }}
54
- DUPLICATE_METHOD: ${{ github.DUPLICATE_METHOD }}
+ DUPLICATE_METHOD: ${{ vars.DUPLICATE_METHOD }}
src/main.py
@@ -72,8 +72,10 @@ def main():
72
method = os.environ.get("DUPLICATE_METHOD", "nlp") # 'nlp' или 'llm'
73
74
if method.lower() == "llm":
75
+ logger.info("Using llm")
76
detector = LLMDuplicateDetector()
77
else:
78
+ logger.info("Using nlp")
79
detector = NLPDuplicateDetector()
80
81
detector.handle_duplicates(issue, repo)
0 commit comments