---
title: python-agent-130101
source: https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes/python-agent-130101
---

## Notes

This release of the Python agent adds additional model information to [LangChain](https://pypi.org/project/langchain) Chain LLM events, and fixes a bug in [LangGraph](https://pypi.org/project/langgraph) streaming instrumentation.

Install the agent using `easy_install/pip/distribute` via the [Python Package Index](https://pypi.python.org/pypi/newrelic), using `conda` via the [Conda-Forge Package Index](https://anaconda.org/conda-forge/newrelic), or download it directly from the [New Relic download site](https://download.newrelic.com/python_agent/release).

## Improved Features

-   Add additional model information to LangChain Chain LLM events

    -   Add `request.model` and `response.model` attributes to LLM events produced by [LangChain](https://pypi.org/project/langchain) Chains.
    -   This information is pulled on a best effort basis and may not always be available.

## Bugs

-   Fix TypeError in LangGraph streaming instrumentation

    -   Previously, when using a subset of streaming APIs in [LangGraph](https://pypi.org/project/langgraph), the agent would encounter a `TypeError` due to the use of `weakref.WeakMethod` by LangGraph. This has been fixed, and the agent should now work correctly with those LangGraph streaming methods.

## Support statement

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read [more](https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/) about keeping agents up to date.

See the New Relic Python agent [EOL policy](https://docs.newrelic.com/docs/apm/agents/python-agent/getting-started/python-agent-eol-policy/) for information about agent releases and support dates.
