Skip to content

Commit

Permalink
unify three test sections
Browse files Browse the repository at this point in the history
  • Loading branch information
shaper committed Dec 22, 2024
1 parent e78a1eb commit 25c50eb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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([
{
Expand Down Expand Up @@ -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([
{
Expand Down Expand Up @@ -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([
{
Expand Down

0 comments on commit 25c50eb

Please sign in to comment.