From 6a7ab87f684dcfec0457ef85f2e34f234b1a2579 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sat, 24 Aug 2024 23:02:46 -0400 Subject: [PATCH] Refactor --- src/api/openrouter.ts | 2 +- src/utils/{context-management.ts => openai-format.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/utils/{context-management.ts => openai-format.ts} (100%) diff --git a/src/api/openrouter.ts b/src/api/openrouter.ts index be6d5d1..cd74934 100644 --- a/src/api/openrouter.ts +++ b/src/api/openrouter.ts @@ -8,7 +8,7 @@ import { OpenRouterModelId, openRouterModels, } from "../shared/api" -import { convertToOpenAiMessages } from "../utils/context-management" +import { convertToOpenAiMessages } from "../utils/openai-format" export class OpenRouterHandler implements ApiHandler { private options: ApiHandlerOptions diff --git a/src/utils/context-management.ts b/src/utils/openai-format.ts similarity index 100% rename from src/utils/context-management.ts rename to src/utils/openai-format.ts