randydev commited on
Commit
3ffdf33
·
verified ·
1 Parent(s): 480f317

Update lib/@randydev/together/cohere.js

Browse files
Files changed (1) hide show
  1. lib/@randydev/together/cohere.js +1 -1
lib/@randydev/together/cohere.js CHANGED
@@ -4,7 +4,7 @@ const cohere = new CohereClient({
4
  token: process.env["COHERE_API_KEY"],
5
  });
6
 
7
- function CohereAI(message) {
8
  const stream = await cohere.chatStream({
9
  model: "command-r-08-2024",
10
  message: `${message}`,
 
4
  token: process.env["COHERE_API_KEY"],
5
  });
6
 
7
+ async function CohereAI(message) {
8
  const stream = await cohere.chatStream({
9
  model: "command-r-08-2024",
10
  message: `${message}`,