Skip to content

Commit 44e6687

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#20)
1 parent 8f9f9f4 commit 44e6687

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-1a1d7adc6ad4bca0dbcf4ccf0c6ff9bccb7a1c11658252538b9eb49fdf628c3d.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-0b67f25d6d4fdd34057ac5f57434d488db64fe65f0b2c4729b97232c64927b13.yml

src/resources/prompts.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export namespace ModelParameters {
113113

114114
stream?: false | null;
115115

116-
stream_options?: OpenAICreateCompletionNonStreamingRequest.StreamOptions | null;
116+
stream_options?: unknown | null;
117117

118118
temperature?: number | null;
119119

@@ -232,10 +232,6 @@ export namespace ModelParameters {
232232
type?: 'text' | 'json_object';
233233
}
234234

235-
export interface StreamOptions {
236-
include_usage: boolean;
237-
}
238-
239235
export interface OpenAIChatCompletionNamedToolChoice {
240236
function: OpenAIChatCompletionNamedToolChoice.Function;
241237

0 commit comments

Comments
 (0)