This commit is contained in:
mrT23 2023-10-17 19:45:04 +03:00
parent d5c098de73
commit d41fe0cf79
No known key found for this signature in database
GPG key ID: D350490E39D5F5AD

View file

@ -47,7 +47,7 @@ class PRSimilarIssue:
# check if index exists, and if repo is already indexed
run_from_scratch = False
if run_from_scratch:
if run_from_scratch: # for debugging
if not index_name in pinecone.list_indexes():
get_logger().info('Removing index...')
pinecone.init(api_key=api_key, environment=environment)