Skip to content

[QUESTION] Is it necessary to include inputItems when creating CreateResponseOptions? #873

@The-Mojoo

Description

@The-Mojoo

How can we help?

old inputItems
new inputItems

As shown in the two hyperlinks above, there are two methods.
After I updated to 2.8, I need to repeatedly create the CreateResponseOptions object in a do-while loop, even though the only thing I change is the inputItems parameter.
The contents inside CreateResponseOptions do not need to change, and repeatedly creating it feels very inelegant.

I don’t quite understand why this change is necessary.

Metadata

Metadata

Assignees

Labels

area: responsesThis item is related to Responsesissue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.questionCategory: The issue is seeking information about the library or its usage.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions