Skip to content

Commit 4a6fa47

Browse files
release: 0.11.0 (#162)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent c37f243 commit 4a6fa47

File tree

7 files changed

+21
-6
lines changed

7 files changed

+21
-6
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.10.0"
2+
".": "0.11.0"
33
}

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-b33d3547dd14387df0951ff9638519f7c1a125db265801f63e9136cfa5e4578b.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-33be0d612b9f1153b86f53e95bf7c571af2f1e466bda2330b632e6c05832e2a6.yml

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.11.0 (2025-01-09)
4+
5+
Full Changelog: [v0.10.0...v0.11.0](https://github.com/groq/groq-typescript/compare/v0.10.0...v0.11.0)
6+
7+
### Features
8+
9+
* **api:** api update ([#161](https://github.com/groq/groq-typescript/issues/161)) ([5628b90](https://github.com/groq/groq-typescript/commit/5628b90da7336889b2d54e2033c065bcd8146e8e))
10+
311
## 0.10.0 (2025-01-07)
412

513
Full Changelog: [v0.9.1...v0.10.0](https://github.com/groq/groq-typescript/compare/v0.9.1...v0.10.0)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "groq-sdk",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "The official TypeScript library for the Groq API",
55
"author": "Groq <[email protected]>",
66
"types": "dist/index.d.ts",

src/resources/chat/completions.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,14 @@ export interface ChatCompletionCreateParamsBase {
762762
*/
763763
seed?: number | null;
764764

765-
service_tier?: 'on_demand' | 'flex' | null;
765+
/**
766+
* The service tier to use for the request. Defaults to `on_demand`.
767+
*
768+
* - `auto` will automatically select the highest tier available within the rate
769+
* limits of your organization.
770+
* - `flex` uses the flex tier, which will succeed or fail quickly.
771+
*/
772+
service_tier?: 'auto' | 'on_demand' | 'flex' | null;
766773

767774
/**
768775
* Up to 4 sequences where the API will stop generating further tokens. The

src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.10.0'; // x-release-please-version
1+
export const VERSION = '0.11.0'; // x-release-please-version

tests/api-resources/chat/completions.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('resource completions', () => {
3838
presence_penalty: -2,
3939
response_format: { type: 'text' },
4040
seed: 0,
41-
service_tier: 'on_demand',
41+
service_tier: 'auto',
4242
stop: '\n',
4343
stream: true,
4444
temperature: 1,

0 commit comments

Comments
 (0)