graphlit-client 1.0.20250711001 → 1.0.20250713001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -404,9 +404,9 @@ if (process.env.OPENAI_API_KEY) {
|
|
404
404
|
}
|
405
405
|
|
406
406
|
if (process.env.COHERE_API_KEY) {
|
407
|
-
const {
|
407
|
+
const { CohereClientV2 } = await import("cohere-ai");
|
408
408
|
client.setCohereClient(
|
409
|
-
new
|
409
|
+
new CohereClientV2({ token: process.env.COHERE_API_KEY }),
|
410
410
|
);
|
411
411
|
}
|
412
412
|
|
@@ -568,9 +568,9 @@ if (process.env.OPENAI_API_KEY) {
|
|
568
568
|
}
|
569
569
|
|
570
570
|
if (process.env.COHERE_API_KEY) {
|
571
|
-
const {
|
571
|
+
const { CohereClientV2 } = await import("cohere-ai");
|
572
572
|
client.setCohereClient(
|
573
|
-
new
|
573
|
+
new CohereClientV2({ token: process.env.COHERE_API_KEY }),
|
574
574
|
);
|
575
575
|
}
|
576
576
|
|