You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messages: [{ role: 'user', content: 'Say this is a test' }],
178
178
stream: true,
179
179
});
@@ -226,7 +226,7 @@ const client = new OpenAI();
226
226
asyncfunction main() {
227
227
const runner =client.beta.chat.completions
228
228
.runTools({
229
-
model: 'gpt-3.5-turbo',
229
+
model: 'gpt-4o',
230
230
messages: [{ role: 'user', content: 'How is the weather this week?' }],
231
231
tools: [
232
232
{
@@ -368,7 +368,7 @@ Error codes are as followed:
368
368
All object responses in the SDK provide a `_request_id` property which is added from the `x-request-id` response header so that you can quickly log failing requests and report them back to OpenAI.
369
369
370
370
```ts
371
-
const completion =awaitclient.chat.completions.create({ messages: [{ role: 'user', content: 'Say this is a test' }], model: 'gpt-4' });
371
+
const completion =awaitclient.chat.completions.create({ messages: [{ role: 'user', content: 'Say this is a test' }], model: 'gpt-4o' });
0 commit comments