Skip to content

Commit c4cd2ca

Browse files
committed
.
1 parent e1c2fcf commit c4cd2ca

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/tracing/google-genai

1 file changed

+1
-1
lines changed

packages/core/src/tracing/google-genai/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function isEmbeddingsMethod(methodPath: string): boolean {
4848
* Extract model from parameters or chat context object
4949
* For chat instances, the model is available on the chat object as 'model' (older versions) or 'modelVersion' (newer versions)
5050
*/
51-
export function extractModel(params: Record<string, unknown>, context?: unknown): string {
51+
function extractModel(params: Record<string, unknown>, context?: unknown): string {
5252
if ('model' in params && typeof params.model === 'string') {
5353
return params.model;
5454
}

0 commit comments

Comments
 (0)