Skip to content

Commit 2f2d8a9

Browse files
ci: Version Packages (#787)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c55764a commit 2f2d8a9

9 files changed

Lines changed: 45 additions & 23 deletions

File tree

.changeset/openai-strict-schema-fallback.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/ai-grok/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tanstack/ai-grok
22

3+
## 0.12.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`c55764a`](https://github.com/TanStack/ai/commit/c55764a4cb55a384dc50390191e4842a3e64604a)]:
8+
- @tanstack/openai-base@0.8.6
9+
310
## 0.12.0
411

512
### Minor Changes

packages/ai-grok/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-grok",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"description": "xAI Grok adapter for TanStack AI chat, image generation, realtime, and structured outputs.",
55
"author": "Tanner Linsley",
66
"license": "MIT",

packages/ai-groq/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tanstack/ai-groq
22

3+
## 0.4.7
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`c55764a`](https://github.com/TanStack/ai/commit/c55764a4cb55a384dc50390191e4842a3e64604a)]:
8+
- @tanstack/openai-base@0.8.6
9+
310
## 0.4.6
411

512
### Patch Changes

packages/ai-groq/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-groq",
3-
"version": "0.4.6",
3+
"version": "0.4.7",
44
"description": "Groq adapter for TanStack AI low-latency chat, tool calling, and structured outputs.",
55
"author": "Tanner Linsley",
66
"license": "MIT",

packages/ai-openai/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tanstack/ai-openai
22

3+
## 0.15.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`c55764a`](https://github.com/TanStack/ai/commit/c55764a4cb55a384dc50390191e4842a3e64604a)]:
8+
- @tanstack/openai-base@0.8.6
9+
310
## 0.15.0
411

512
### Minor Changes

packages/ai-openai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/ai-openai",
3-
"version": "0.15.0",
3+
"version": "0.15.1",
44
"description": "OpenAI adapter for TanStack AI chat, tools, images, video, speech, transcription, realtime, and structured outputs.",
55
"author": "Tanner Linsley",
66
"license": "MIT",

packages/openai-base/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @tanstack/openai-base
22

3+
## 0.8.6
4+
5+
### Patch Changes
6+
7+
- [#786](https://github.com/TanStack/ai/pull/786) [`c55764a`](https://github.com/TanStack/ai/commit/c55764a4cb55a384dc50390191e4842a3e64604a) - fix(openai): emit `strict: false` for function tools whose JSON Schema is outside OpenAI's strict subset
8+
9+
The Responses and Chat Completions tool converters forced `strict: true` on
10+
every function tool. When a tool's schema uses keywords OpenAI's strict
11+
Structured Outputs subset doesn't support (`oneOf`/`allOf`/`not`/`$ref`/
12+
`$defs` — routinely emitted by MCP servers such as Notion), the API rejected
13+
the **entire** request with `400 Invalid schema for function '…'`, breaking
14+
every run that included such a tool.
15+
16+
These converters now detect schemas outside the strict subset
17+
(`isStrictModeCompatible`) and emit those tools with `strict: false` — the
18+
schema is passed through (only unsupported `format` keywords are stripped) so
19+
the tool stays callable. Schemas that fit the strict subset keep `strict: true`
20+
and the existing structured-output coercion, so well-behaved tools are
21+
unaffected.
22+
323
## 0.8.5
424

525
### Patch Changes

packages/openai-base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tanstack/openai-base",
3-
"version": "0.8.5",
3+
"version": "0.8.6",
44
"description": "Shared OpenAI SDK base adapters for TanStack AI providers using Chat Completions and Responses APIs.",
55
"author": "Tanner Linsley",
66
"license": "MIT",

0 commit comments

Comments
 (0)