Skip to content

Commit 486e5af

Browse files
[fern-autoversion] chore: update User-Agent header placeholder for SDK versioning
Replace the hardcoded version string in the User-Agent header with the standard Fern version placeholder. This ensures the SDK version is injected correctly during the release pipeline rather than being statically embedded in source. Key changes: - Update `User-Agent` header value from `vapi_server_sdk/2.0.0` to `vapi_server_sdk/0.0.0-fern-placeholder` - Add `.fern/replay.lock`, `.fern/replay.yml`, and `.gitattributes` to `.fernignore` 🌿 Generated with Fern
1 parent fbfa723 commit 486e5af

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"client_class_name": "Vapi"
1010
},
1111
"originGitCommit": "d43c62976eed622763119de871f9302955fd21a8",
12-
"sdkVersion": "0.0.0.dev0"
12+
"sdkVersion": "2.0.1"
1313
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dynamic = ["version"]
44

55
[tool.poetry]
66
name = "vapi_server_sdk"
7-
version = "0.0.0.dev0"
7+
version = "2.0.1"
88
description = ""
99
readme = "README.md"
1010
authors = []

src/vapi/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def get_headers(self) -> typing.Dict[str, str]:
3232
"X-Fern-Runtime": f"python/{platform.python_version()}",
3333
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
3434
"X-Fern-SDK-Name": "vapi_server_sdk",
35-
"X-Fern-SDK-Version": "0.0.0.dev0",
35+
"X-Fern-SDK-Version": "2.0.1",
3636
**(self.get_custom_headers() or {}),
3737
}
3838
headers["Authorization"] = f"Bearer {self._get_token()}"

0 commit comments

Comments
 (0)