Skip to content

Commit 80fe8bc

Browse files
authored
Add request origin (#59)
* Add python client req origin * Bump version
1 parent a405afc commit 80fe8bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "weaviate-agents"
3-
version = "0.11.0"
3+
version = "0.12.0"
44
description = "The official sub-package for the Weaviate Agents project."
55
readme = "README.md"
66
requires-python = ">=3.9"

weaviate_agents/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ def __init__(
2828
self._headers = {
2929
"Authorization": self._connection.get_current_bearer_token(),
3030
"X-Weaviate-Cluster-Url": self._client._connection.url.replace(":443", ""),
31+
"X-Agent-Request-Origin": "python-client",
3132
}

0 commit comments

Comments
 (0)