feat(openai): add getModelSetup() and typed provider options for OpenAI reasoning settings

This commit is contained in:
2026-05-06 19:09:58 +00:00
parent 8ad0b90f95
commit 5c871242b0
10 changed files with 952 additions and 1178 deletions
+15 -15
View File
@@ -1,6 +1,6 @@
{
"name": "@push.rocks/smartai",
"version": "2.0.1",
"version": "2.1.0",
"private": false,
"description": "Provider registry and capability utilities for ai-sdk (Vercel AI SDK). Core export returns LanguageModel; subpath exports provide vision, audio, image, document and research capabilities.",
"main": "dist_ts/index.js",
@@ -42,29 +42,29 @@
},
"devDependencies": {
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsrun": "^2.0.2",
"@git.zone/tsrun": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@push.rocks/qenv": "^6.1.3",
"@push.rocks/qenv": "^6.1.4",
"@types/json-schema": "^7.0.15",
"@types/lodash.clonedeep": "^4.5.9",
"@types/node": "^25.6.0",
"@types/pngjs": "^6.0.5",
"typescript": "^6.0.3",
"undici-types": "^8.1.0"
"undici-types": "^8.2.0"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.72",
"@ai-sdk/google": "^3.0.65",
"@ai-sdk/groq": "^3.0.36",
"@ai-sdk/mistral": "^3.0.31",
"@ai-sdk/openai": "^3.0.54",
"@ai-sdk/perplexity": "^3.0.30",
"@ai-sdk/provider": "^3.0.9",
"@ai-sdk/xai": "^3.0.84",
"@anthropic-ai/sdk": "0.91.0",
"@ai-sdk/anthropic": "^3.0.75",
"@ai-sdk/google": "^3.0.67",
"@ai-sdk/groq": "^3.0.38",
"@ai-sdk/mistral": "^3.0.35",
"@ai-sdk/openai": "^3.0.62",
"@ai-sdk/perplexity": "^3.0.32",
"@ai-sdk/provider": "^3.0.10",
"@ai-sdk/xai": "^3.0.88",
"@anthropic-ai/sdk": "0.95.0",
"@push.rocks/smartpdf": "^4.2.2",
"ai": "^6.0.170",
"openai": "^6.35.0"
"ai": "^6.0.175",
"openai": "^6.36.0"
},
"repository": {
"type": "git",