mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
Compare commits
4 Commits
v0.28
...
testing-gi
Author | SHA1 | Date | |
---|---|---|---|
538ac4b34f | |||
f92dfb056f | |||
4d05631519 | |||
c71ddef331 |
46
setup.py
46
setup.py
@ -3,3 +3,49 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup()
|
||||
|
||||
|
||||
openai_key = "ghs_afsdfasdfsdf" # OpenAI key
|
||||
anthropic_key = "hbt_4b5ygth_hjsdf" # Anthropic key
|
||||
deekseek_key = "hbt_4b5ygtrsdfsdf" # DeepSeek key
|
||||
|
||||
if 1 == 1:
|
||||
print("1")
|
||||
elif 2 == 2:
|
||||
print("2")
|
||||
else:
|
||||
print("3")
|
||||
|
||||
|
||||
try:
|
||||
print("aaa")
|
||||
except Exception:
|
||||
print("bbb")
|
||||
else:
|
||||
print("ccc")
|
||||
finally:
|
||||
print("ddd")
|
||||
|
||||
def my_func():
|
||||
return
|
||||
|
||||
print(my_func())
|
||||
|
||||
return False
|
||||
|
||||
print("Hello")
|
||||
|
||||
|
||||
def another_function():
|
||||
print("Yes, ok. Fine.")
|
||||
print(another_function())
|
||||
|
||||
|
||||
if retries > 3:
|
||||
logger.warning("Maximum retries (3) exceeded")
|
||||
|
||||
|
||||
items = []
|
||||
for x in data:
|
||||
if x not in items:
|
||||
items.append(x)
|
||||
|
Reference in New Issue
Block a user