fix(ops_tracing): enhance error handle in celery tasks. (#10401)

This commit is contained in:
Joe 2024-11-08 14:43:47 +08:00 • committed by GitHub
commit aa3da0e24c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 47 additions and 12 deletions

View file

@ -54,3 +54,7 @@ class LangSmithConfig(BaseTracingConfig):
raise ValueError("endpoint must start with https://")
return v
OPS_FILE_PATH = "ops_trace/"
OPS_TRACE_FAILED_KEY = "FAILED_OPS_TRACE"