# get_user_agent

> **Function** in `langchain_google_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-community/_utils/get_user_agent)

Returns a custom user agent header.

## Signature

```python
get_user_agent(
    module: Optional[str] = None,
) -> Tuple[str, str]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `module` | `Optional[str]` | No | The module for a custom user agent header. (default: `None`) |

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/982e4015b249de8b9ba1e787746d8cc1f6d6b790/libs/community/langchain_google_community/_utils.py#L26)