Skip to content

Commit

Permalink
tmp change to langchain integration to only trigger langchain tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Kim committed Jul 9, 2024
1 parent c0d998a commit c139f43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ddtrace/contrib/langchain/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def traced_llm_generate(langchain, pin, func, instance, args, kwargs):
llm_provider = instance._llm_type
prompts = get_argument_value(args, kwargs, 0, "prompts")
integration = langchain._datadog_integration
model = _extract_model_name(instance)
model = _extract_model_name(
instance,
)
span = integration.trace(
pin,
"%s.%s" % (instance.__module__, instance.__class__.__name__),
Expand Down

0 comments on commit c139f43

Please sign in to comment.