fix: downgraded sentry-sdk to 1.44.1 due to claude LLM token returning 0 (#6597)

This commit is contained in:
takatost 2024-07-24 04:49:03 +08:00 committed by GitHub
parent 4c85393a1d
commit 0fb741f269
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 597 additions and 597 deletions

View File

@ -25,7 +25,6 @@ def measure_time():
yield timing_info yield timing_info
finally: finally:
timing_info['end'] = datetime.now() timing_info['end'] = datetime.now()
print(f"Execution time: {timing_info['end'] - timing_info['start']}")
def replace_text_with_content(data): def replace_text_with_content(data):

1191
api/poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -163,7 +163,7 @@ redis = { version = "~5.0.3", extras = ["hiredis"] }
replicate = "~0.22.0" replicate = "~0.22.0"
resend = "~0.7.0" resend = "~0.7.0"
safetensors = "~0.4.3" safetensors = "~0.4.3"
sentry-sdk = { version = "~2.8.0", extras = ["flask"] } sentry-sdk = { version = "~1.44.1", extras = ["flask"] }
sqlalchemy = "~2.0.29" sqlalchemy = "~2.0.29"
tencentcloud-sdk-python-hunyuan = "~3.0.1158" tencentcloud-sdk-python-hunyuan = "~3.0.1158"
tiktoken = "~0.7.0" tiktoken = "~0.7.0"