Skip to content

Commit

Permalink
fix: DIA-1403: Add total_cost, previous_version to refine output API (#…
Browse files Browse the repository at this point in the history
…34)

Co-authored-by: nik <nik@heartex.net>
  • Loading branch information
niklub and nik authored Oct 15, 2024
1 parent c1d02c4 commit 0827214
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions fern/openapi/resources/prompts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,17 @@ components:
- Failed
readOnly: true
default: Pending
total_cost:
type: number
format: float
title: Total Cost
description: Total cost of the refinement job (in USD)
nullable: true
previous_version:
title: Previous Version
description: Previous version of the prompt
$ref: "#/components/schemas/PromptVersion"

required:
- prompt

Expand Down

0 comments on commit 0827214

Please sign in to comment.