Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Commit 8ea184a

Browse files
committed
💬 Refine logging for embedding process
Updated logging to display provider before input model details.
1 parent 6f91ce0 commit 8ea184a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/openai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ export async function OpenAIEmbedder(
871871
body: JSON.stringify(body),
872872
};
873873
// traceFetchPost(trace, url, freq.headers, body)
874-
logVerbose(`${type}: embedding ${ellipse(input, 44)} with ${provider}:${model}`);
874+
logVerbose(`${provider}: embedding ${ellipse(input, 44)} with ${model}`);
875875
const fetch = await createFetch(options);
876876
checkCancelled(cancellationToken);
877877
const res = await fetch(url, freq);

0 commit comments

Comments
 (0)