Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangvvo committed Nov 7, 2024
1 parent 2bad7d4 commit 56dc0e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion javascript/examples/stream-audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { openaiAudioModel } from "./model.js";

let speaker: Speaker | undefined;

const response = await openaiAudioModel.stream({
const response = openaiAudioModel.stream({
extra: {
audio: {
voice: "alloy",
Expand Down
2 changes: 1 addition & 1 deletion javascript/examples/stream-text.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { openaiModel as model } from "./model.js";

const response = await model.stream({
const response = model.stream({
messages: [
{
role: "user",
Expand Down
2 changes: 1 addition & 1 deletion javascript/examples/stream-tool-use.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { openaiModel as model } from "./model.js";

const response = await model.stream({
const response = model.stream({
messages: [
{
role: "user",
Expand Down

0 comments on commit 56dc0e5

Please sign in to comment.