From be8bc881e221419d866e15b09d5db865c063404a Mon Sep 17 00:00:00 2001 From: David Meadows Date: Mon, 11 Nov 2024 16:29:42 -0500 Subject: [PATCH] fix(internal): fix import --- src/lib/AbstractChatCompletionRunner.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/AbstractChatCompletionRunner.ts b/src/lib/AbstractChatCompletionRunner.ts index 3eb96ad..28875e7 100644 --- a/src/lib/AbstractChatCompletionRunner.ts +++ b/src/lib/AbstractChatCompletionRunner.ts @@ -19,8 +19,7 @@ import { ChatCompletionStreamingToolRunnerParams, } from './ChatCompletionStreamingRunner'; import { isAssistantMessage, isFunctionMessage, isToolMessage } from './chatCompletionUtils'; -import { Chat } from 'together-ai/resources'; -import ChatCompletionUsage = Chat.ChatCompletionUsage; +import { ChatCompletionUsage } from 'together-ai/resources/chat/completions'; const DEFAULT_MAX_CHAT_COMPLETIONS = 10; export interface RunnerOptions extends Core.RequestOptions {