Skip to content

Commit 8904dde

Browse files
fix(responses): correct reasoning output type (#300)
1 parent 56f22a1 commit 8904dde

File tree

8 files changed

+478
-883
lines changed

8 files changed

+478
-883
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 78
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-9ce5257763fb30c6e0e1ee2bef7e13baf661511e09572207e528d643da8e16b3.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-c8579861bc21d4d2155a5b9e8e7d54faee8083730673c4d32cbbe573d7fb4116.yml

openai-java-core/src/main/kotlin/com/openai/models/responses/Response.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ private constructor(
736736
* A description of the chain of thought used by a reasoning model while generating a
737737
* response.
738738
*/
739-
fun addOutput(reasoning: ResponseOutputItem.Reasoning) =
739+
fun addOutput(reasoning: ResponseReasoningItem) =
740740
addOutput(ResponseOutputItem.ofReasoning(reasoning))
741741

742742
/** Whether to allow the model to run tool calls in parallel. */

openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseInputItem.kt

+8-432
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)