Skip to content

Commit e04286d

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

File tree

8 files changed

+26
-5
lines changed

8 files changed

+26
-5
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.11.0"
2+
".": "0.12.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-33be0d612b9f1153b86f53e95bf7c571af2f1e466bda2330b632e6c05832e2a6.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/groqcloud%2Fgroqcloud-8bf31041292f851076489c3ac1270d06c49b995225d91cf5de2288a4bcfa8c29.yml

CHANGELOG.md

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

3+
## 0.12.0 (2025-01-11)
4+
5+
Full Changelog: [v0.11.0...v0.12.0](https://github.com/groq/groq-typescript/compare/v0.11.0...v0.12.0)
6+
7+
### Features
8+
9+
* **api:** api update ([#166](https://github.com/groq/groq-typescript/issues/166)) ([003600d](https://github.com/groq/groq-typescript/commit/003600d69f9b7a0171d5bb7a09202800d70875a9))
10+
11+
12+
### Chores
13+
14+
* **internal:** codegen related update ([#164](https://github.com/groq/groq-typescript/issues/164)) ([72dfc54](https://github.com/groq/groq-typescript/commit/72dfc54e941be0d385baecd988cc6b0cd2854c19))
15+
316
## 0.11.0 (2025-01-09)
417

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

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ await client.chat.completions.create(
309309
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
310310

311311
1. Changes that only affect static types, without breaking runtime behavior.
312-
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals)_.
312+
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
313313
3. Changes that we do not expect to impact the vast majority of users in practice.
314314

315315
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "groq-sdk",
3-
"version": "0.11.0",
3+
"version": "0.12.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

+7
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,13 @@ export interface ChatCompletionCreateParamsBase {
722722
* total length of input tokens and generated tokens is limited by the model's
723723
* context length.
724724
*/
725+
max_completion_tokens?: number | null;
726+
727+
/**
728+
* Deprecated in favor of `max_completion_tokens`. The maximum number of tokens
729+
* that can be generated in the chat completion. The total length of input tokens
730+
* and generated tokens is limited by the model's context length.
731+
*/
725732
max_tokens?: number | null;
726733

727734
/**

src/version.ts

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ describe('resource completions', () => {
3232
functions: [{ name: 'name', description: 'description', parameters: { foo: 'bar' } }],
3333
logit_bias: { foo: 0 },
3434
logprobs: true,
35+
max_completion_tokens: 0,
3536
max_tokens: 0,
3637
n: 1,
3738
parallel_tool_calls: true,

0 commit comments

Comments
 (0)