feat: allow to pass custom parent run id (#7651)

This commit is contained in:
Hugues Chocart 2025-01-11 02:04:46 +01:00 committed by GitHub
parent 9174a6f349
commit 8576ca8ccb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,6 +153,7 @@ class LunaryLogger:
type,
"start",
run_id,
parent_run_id=metadata.get("parent_run_id", None),
user_id=user_id,
name=model,
input=parse_messages(input),