Skip to content

Commit 95c7058

Browse files
feat(api): OpenAPI spec update via Stainless API (#222)
1 parent 4ff031d commit 95c7058

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
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: 22
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-9cff8ea13f14bd0899df69243fe78b4f88d4d0172263aa260af1ea66a7d0484e.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-e8bee356492945c6a488f721b7e79b4f8a55c1edabfed4e2817729017f1ae43d.yml

src/resources/prompts.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ export class Prompts extends APIResource {
4747
}
4848

4949
/**
50-
* Fetches the model configuration parameters for a specified prompt, including
51-
* penalty settings, response format, and the model messages rendered with the
52-
* given variables mapped to the set LLM provider.
50+
* Fetches the configured model parameters and messages rendered with the provided
51+
* variables mapped to the set LLM provider. This endpoint abstracts the need to
52+
* handle mapping between different providers, while still allowing direct calls to
53+
* the providers.
5354
*/
5455
getParameters(
5556
id: string,

0 commit comments

Comments
 (0)