Skip to content

Commit c3f54d8

Browse files
committed
remove type
1 parent 1409b1c commit c3f54d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/agents/includes/quickstart-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function main() {
149149
// messages[0] is the most recent
150150
for (let i = messages.data.length - 1; i >= 0; i--) {
151151
const m = messages.data[i];
152-
if (isOutputOfType<MessageTextContentOutput>(m.content[0], "text")) {
152+
if (isOutputOfType(m.content[0], "text")) {
153153
const textContent = m.content[0];
154154
console.log(`${textContent.text.value}`);
155155
console.log(`---------------------------------`);

0 commit comments

Comments
 (0)