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
parent 033ab5490b
commit aa3da0e24c
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"