chore: Deprecate `max_spans` LangChain parameter (#5074) · gitcommit90/sentry-python@25999b5 · GitHub
Skip to content

Commit 25999b5

Browse files
chore: Deprecate max_spans LangChain parameter (getsentry#5074)
Set the default value of the `max_spans` parameter of `LangchainIntegration` to `None`, so that LangChain spans are not exited early by default. Deprecate the parameter and announce its removal in the next major release. Closes getsentry#4985
1 parent c4d0ba8 commit 25999b5

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

sentry_sdk/integrations/langchain.py

Lines changed: 16 additions & 9 deletions

0 commit comments

Comments
 (0)