Skip to content

Commit 7fca2f2

Browse files
liulei.88innsd
authored andcommitted
fix(client): Fix the null value issue when session_token is NoneWhen session_token is None, set it to an empty string to avoid request errors
1 parent f5c8eff commit 7fca2f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

agentkit/client/base_service_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def __init__(
137137
sk=self.secret_key,
138138
service=self.service,
139139
region=self.region,
140-
session_token=self.session_token,
140+
session_token=self.session_token or "",
141141
),
142142
connection_timeout=30,
143143
socket_timeout=30,

agentkit/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
VERSION = "0.3.1"
15+
VERSION = "0.3.2"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "agentkit-sdk-python"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure."
55
readme = "README.md"
66
requires-python = ">=3.10"

0 commit comments

Comments
 (0)