mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-16 04:45:18 +00:00
comment
This commit is contained in:
parent
d5c098de73
commit
d41fe0cf79
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class PRSimilarIssue:
|
||||||
|
|
||||||
# check if index exists, and if repo is already indexed
|
# check if index exists, and if repo is already indexed
|
||||||
run_from_scratch = False
|
run_from_scratch = False
|
||||||
if run_from_scratch:
|
if run_from_scratch: # for debugging
|
||||||
if not index_name in pinecone.list_indexes():
|
if not index_name in pinecone.list_indexes():
|
||||||
get_logger().info('Removing index...')
|
get_logger().info('Removing index...')
|
||||||
pinecone.init(api_key=api_key, environment=environment)
|
pinecone.init(api_key=api_key, environment=environment)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue