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