Compare commits

...

3 Commits

Author SHA1 Message Date
Mason Daugherty
69f36578d3 Merge branch 'master' into mdrxy/post-patch-fixes 2026-01-22 15:15:08 -05:00
Mason Daugherty
bc06782b1a Merge branch 'master' into mdrxy/post-patch-fixes 2025-12-10 15:05:51 -05:00
Mason Daugherty
48ea9f104b fix(core): fix for exclude_inputs POST 2025-11-27 02:56:07 -05:00

View File

@@ -243,6 +243,12 @@ class LangChainTracer(BaseTracer):
run.tags = self._get_tags(run)
if run.ls_client is not self.client:
run.ls_client = self.client
# Mark whether inputs are real (not placeholder) so we can exclude them
# from PATCH for normal invocations.
#
# Streaming invocations use {"input": ""} as placeholder in POST and send
# real inputs in PATCH.
run.extra["inputs_is_truthy"] = run.inputs != {"input": ""}
run.post()
except Exception as e:
# Errors are swallowed by the thread executor so we need to log them here