Skip to content

Commit 3c56036

Browse files
build dist
1 parent 7025fc6 commit 3c56036

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

dist/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,9 +1343,7 @@ RESPOND ONLY WITH THE JSON OBJECT. NO OTHER TEXT.`;
13431343
if (this.provider === "groq") {
13441344
const groqResponse = response;
13451345
const text = groqResponse.output
1346-
?.map((out) => out.content
1347-
?.map((item) => item.text || "")
1348-
.join(""))
1346+
?.map((out) => out.content?.map((item) => item.text || "").join(""))
13491347
.join("") || "";
13501348
return text.trim();
13511349
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)