Skip to content

Commit 4d59873

Browse files
committed
[Platform] Fix $choice argument type in Gpt\ResultConverter
1 parent c58ddce commit 4d59873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platform/src/Bridge/OpenAi/Gpt/ResultConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ private function isToolCallsStreamFinished(array $data): bool
156156
* message: array{
157157
* role: 'assistant',
158158
* content: ?string,
159-
* tool_calls: array{
159+
* tool_calls: list<array{
160160
* id: string,
161161
* type: 'function',
162162
* function: array{
163163
* name: string,
164164
* arguments: string
165165
* },
166-
* },
166+
* }>,
167167
* refusal: ?mixed
168168
* },
169169
* logprobs: string,

0 commit comments

Comments
 (0)