From 25c50eb9070dd2592f7c9db5c6e21742431cec7c Mon Sep 17 00:00:00 2001 From: Walter Korman Date: Sat, 21 Dec 2024 20:36:10 -0800 Subject: [PATCH] unify three test sections --- .../src/convert-to-openai-compatible-chat-messages.test.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/openai-compatible/src/convert-to-openai-compatible-chat-messages.test.ts b/packages/openai-compatible/src/convert-to-openai-compatible-chat-messages.test.ts index 54b8a9a71cf6..b5956b46f5df 100644 --- a/packages/openai-compatible/src/convert-to-openai-compatible-chat-messages.test.ts +++ b/packages/openai-compatible/src/convert-to-openai-compatible-chat-messages.test.ts @@ -120,7 +120,7 @@ describe('tool calls', () => { }); }); -describe('metadata merging', () => { +describe('provider-specific metadata merging', () => { it('should merge system message metadata', async () => { const result = convertToOpenAICompatibleChatMessages([ { @@ -295,9 +295,7 @@ describe('metadata merging', () => { }, ]); }); -}); -describe('complex part-level transformations', () => { it('should handle a user message with multiple content parts (text + image)', () => { const result = convertToOpenAICompatibleChatMessages([ { @@ -466,9 +464,7 @@ describe('complex part-level transformations', () => { }, ]); }); -}); -describe('additional permutations tests', () => { it('should handle multiple content parts with multiple metadata layers', () => { const result = convertToOpenAICompatibleChatMessages([ {