Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Update examples/typescript-simplechat/client.ts

Matt Williams5344f886c8e4
diff --git a/examples/typescript-simplechat/client.ts b/examples/typescript-simplechat/client.ts
index 9e7a93b93..3e571ab6c 100644
--- a/examples/typescript-simplechat/client.ts
+++ b/examples/typescript-simplechat/client.ts
@@ -45,7 +45,7 @@ async function chat(messages: Message[]): Promise<Message> {
}
}
- return { role: "assistant", content: content.join("") };
+ return { role: "assistant", content: content };
}
async function askQuestion(): Promise<void> {