Skip to content

Commit a231f62

Browse files
Merge pull request #19 from openai/fix-client-tool-call-arguments
fix - loosen overly strict ClientToolCall arguments type
2 parents 701dd0c + 70dc032 commit a231f62

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

chatkit/agents.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from inspect import cleandoc
66
from typing import (
77
Annotated,
8+
Any,
89
AsyncGenerator,
910
Awaitable,
1011
Generic,
@@ -84,7 +85,7 @@ class ClientToolCall(BaseModel):
8485
"""
8586

8687
name: str
87-
arguments: dict[str, str]
88+
arguments: dict[str, Any]
8889

8990

9091
class _QueueCompleteSentinel: ...

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openai-chatkit"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
description = "A ChatKit backend SDK."
55
readme = "README.md"
66
requires-python = ">=3.10"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)