Skip to content

Commit ffdbaac

Browse files
author
langfuse-bot
committed
feat(api): update API spec from langfuse/langfuse b8fab27
1 parent cd113c3 commit ffdbaac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/src/api/api/resources/commons/types/ObservationV2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export interface ObservationV2 {
6262
/** Additional metadata of the observation */
6363
metadata?: unknown;
6464
/** The model name as provided by the user */
65-
providedModelName?: string | null;
65+
model?: string | null;
6666
/** The internal model ID matched by Langfuse */
6767
internalModelId?: string | null;
6868
/** The parameters of the model used for the observation */

packages/core/src/api/api/resources/observations/client/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class Observations {
7575
* - `time` - completionStartTime, createdAt, updatedAt
7676
* - `io` - input, output
7777
* - `metadata` - metadata (truncated to 200 chars by default, use `expandMetadata` to get full values)
78-
* - `model` - providedModelName, internalModelId, modelParameters
78+
* - `model` - model, internalModelId, modelParameters
7979
* - `usage` - usageDetails, costDetails, totalCost, usagePricingTierName
8080
* - `prompt` - promptId, promptName, promptVersion
8181
* - `metrics` - latency, timeToFirstToken

0 commit comments

Comments
 (0)