From 1aa164f0572634b44210823ebeefbf817aa8bb45 Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Wed, 11 Sep 2024 20:45:50 -0400 Subject: [PATCH] fix type issue in cohere-ai --- .../ui/docs-bundle/src/pages/api/fern-docs/search/cohere.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/docs-bundle/src/pages/api/fern-docs/search/cohere.ts b/packages/ui/docs-bundle/src/pages/api/fern-docs/search/cohere.ts index 42a3945bd2..1279ebcb04 100644 --- a/packages/ui/docs-bundle/src/pages/api/fern-docs/search/cohere.ts +++ b/packages/ui/docs-bundle/src/pages/api/fern-docs/search/cohere.ts @@ -6,7 +6,7 @@ import { provideRegistryService } from "@fern-ui/ui"; import { kv } from "@vercel/kv"; import algoliasearch from "algoliasearch"; import { Cohere, CohereClient } from "cohere-ai"; -import { ChatMessage } from "cohere-ai/api"; +import { Message as ChatMessage } from "cohere-ai/api"; import { NextRequest } from "next/server"; import { v4 } from "uuid"; import { z } from "zod";