Skip to content

Commit 0827214

Browse files
niklubnik
and
nik
authored
fix: DIA-1403: Add total_cost, previous_version to refine output API (#34)
Co-authored-by: nik <[email protected]>
1 parent c1d02c4 commit 0827214

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

fern/openapi/resources/prompts.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,17 @@ components:
716716
- Failed
717717
readOnly: true
718718
default: Pending
719+
total_cost:
720+
type: number
721+
format: float
722+
title: Total Cost
723+
description: Total cost of the refinement job (in USD)
724+
nullable: true
725+
previous_version:
726+
title: Previous Version
727+
description: Previous version of the prompt
728+
$ref: "#/components/schemas/PromptVersion"
729+
719730
required:
720731
- prompt
721732

0 commit comments

Comments
 (0)