Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hassiebp committed Dec 11, 2024
1 parent 141fcf2 commit 2e179c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration-test/langfuse-integration-fetch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ describe("Langfuse (fetch)", () => {

// Check that the replaced base64 data is the same as the original
expect(mediaReplacedTrace.metadata.context.nested).toEqual(
`data:audio/wav;base64,${Buffer.from(mockAudioBytes).toString("base64")}`
"data:audio/wav;base64," + Buffer.from(mockAudioBytes).toString("base64")
);

// Double check: reference strings must be the same if data URI is reused
Expand Down
2 changes: 1 addition & 1 deletion integration-test/langfuse-openai.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ describe("Langfuse-OpenAI-Integation", () => {
expect(generation.output).toMatchObject(completion.choices[0].message);
expect(generation.metadata).toMatchObject({ someKey: "someValue", response_format });
expect(generation.model).toBe("gpt-4o-2024-08-06");
}, 10000);
}, 15_000);

it("should work with structured output parsing with beta API", async () => {
const traceId = randomUUID();
Expand Down

0 comments on commit 2e179c4

Please sign in to comment.