Skip to content

Commit c8e9cec

Browse files
committed
fix(types): revert ChatCompletionMessageToolCallParam to a TypedDict
1 parent 48085e2 commit c8e9cec

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/openai/types/chat/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
from .chat_completion_developer_message_param import (
5353
ChatCompletionDeveloperMessageParam as ChatCompletionDeveloperMessageParam,
5454
)
55+
from .chat_completion_message_tool_call_param import (
56+
ChatCompletionMessageToolCallParam as ChatCompletionMessageToolCallParam,
57+
)
5558
from .chat_completion_named_tool_choice_param import (
5659
ChatCompletionNamedToolChoiceParam as ChatCompletionNamedToolChoiceParam,
5760
)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from __future__ import annotations
4+
5+
from typing_extensions import TypeAlias
6+
7+
from .chat_completion_message_function_tool_call_param import (
8+
Function as Function,
9+
ChatCompletionMessageFunctionToolCallParam,
10+
)
11+
12+
__all__ = ["ChatCompletionMessageToolCallParam", "Function"]
13+
14+
ChatCompletionMessageToolCallParam: TypeAlias = ChatCompletionMessageFunctionToolCallParam

0 commit comments

Comments
 (0)