Skip to content

Commit

Permalink
feat(api): api update (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 7, 2025
1 parent 265305a commit e0cbb97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-82797b9f004b8c807380a1fa8eec4dc51d760b0f7f1705409a171e88e370102f.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-b33d3547dd14387df0951ff9638519f7c1a125db265801f63e9136cfa5e4578b.yml
2 changes: 2 additions & 0 deletions src/resources/chat/completions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ export interface ChatCompletionCreateParamsBase {
*/
seed?: number | null;

service_tier?: 'on_demand' | 'flex' | null;

/**
* Up to 4 sequences where the API will stop generating further tokens. The
* returned text will not contain the stop sequence.
Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/chat/completions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe('resource completions', () => {
presence_penalty: -2,
response_format: { type: 'text' },
seed: 0,
service_tier: 'on_demand',
stop: '\n',
stream: true,
temperature: 1,
Expand Down

0 comments on commit e0cbb97

Please sign in to comment.