Skip to content

Commit 5f7e020

Browse files
chore: improve example values
1 parent bbccc84 commit 5f7e020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/api-resources/conversations/items.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const client = new OpenAI({
1010
describe('resource items', () => {
1111
test('create: only required params', async () => {
1212
const responsePromise = client.conversations.items.create('conv_123', {
13-
items: [{ content: 'string', role: 'user' }],
13+
items: [{ content: 'string', role: 'user', type: 'message' }],
1414
});
1515
const rawResponse = await responsePromise.asResponse();
1616
expect(rawResponse).toBeInstanceOf(Response);

0 commit comments

Comments
 (0)