Skip to content

Commit ce49ae5

Browse files
committed
chore: add changesets for openai-base extraction
1 parent 4299fe5 commit ce49ae5

3 files changed

Lines changed: 23 additions & 0 deletions

File tree

.changeset/add-ai-utils-package.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/ai-utils': minor
3+
---
4+
5+
New package: shared provider-agnostic utilities for TanStack AI adapters. Includes `generateId`, `getApiKeyFromEnv`, `transformNullsToUndefined`, and `ModelMeta` types with `defineModelMeta` validation helper. Zero runtime dependencies.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/openai-base': minor
3+
---
4+
5+
New package: shared base adapters and utilities for OpenAI-compatible providers. Includes Chat Completions and Responses API text adapter base classes, image/summarize/transcription/TTS/video adapter base classes, schema converter, 15 tool converters, and shared types. Providers extend these base classes to reduce duplication and ensure consistent behavior.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@tanstack/ai-openai': patch
3+
'@tanstack/ai-grok': patch
4+
'@tanstack/ai-groq': patch
5+
'@tanstack/ai-openrouter': patch
6+
'@tanstack/ai-ollama': patch
7+
'@tanstack/ai-anthropic': patch
8+
'@tanstack/ai-gemini': patch
9+
'@tanstack/ai-fal': patch
10+
'@tanstack/ai-elevenlabs': patch
11+
---
12+
13+
Internal refactor: delegate shared utilities to `@tanstack/ai-utils` and OpenAI-compatible adapter logic to `@tanstack/openai-base`. No breaking changes — all public APIs remain identical.

0 commit comments

Comments
 (0)