@apertis/ai-sdk-provider 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -79,20 +79,6 @@ const { text } = await generateText({
79
79
  });
80
80
  ```
81
81
 
82
- ### Text Completions
83
-
84
- For models that support the legacy completion API:
85
-
86
- ```typescript
87
- import { apertis } from '@apertis/ai-sdk-provider';
88
- import { generateText } from 'ai';
89
-
90
- const { text } = await generateText({
91
- model: apertis.completion('gpt-3.5-turbo-instruct'),
92
- prompt: 'Complete this: The quick brown fox',
93
- });
94
- ```
95
-
96
82
  ### Embeddings
97
83
 
98
84
  Generate vector embeddings for semantic search and similarity:
@@ -121,14 +107,10 @@ const { embeddings } = await embedMany({
121
107
  Any model available on Apertis AI, including:
122
108
 
123
109
  ### Chat Models
124
- - `gpt-5.2`, `gpt-5.2-codex`, `gpt-5.1`
125
- - `claude-opus-4-5-20251101`, `claude-sonnet-4.5`, `claude-haiku-4.5`
126
- - `gemini-3-pro-preview`, `gemini-3-flash-preview`, `gemini-2.5-flash-preview`
127
- - And 470+ more models
128
-
129
- ### Completion Models
130
- - `gpt-3.5-turbo-instruct`
131
- - `davinci-002`, `babbage-002`
110
+ - **OpenAI**: `gpt-5.2`, `gpt-5.2-chat`, `gpt-5.2-pro`
111
+ - **Anthropic**: `claude-opus-4-5-20251101`, `claude-opus-4-5-20251101-thinking`, `claude-sonnet-4.5`, `claude-haiku-4.5`
112
+ - **Google**: `gemini-3-pro-preview`, `gemini-3-flash-preview`, `gemini-2.5-pro`
113
+ - **Other**: `glm-4.7`, `minimax-m2.1`, and 470+ more models
132
114
 
133
115
  ### Embedding Models
134
116
  - `text-embedding-3-small`, `text-embedding-3-large`
@@ -146,11 +128,11 @@ const apertis = createApertis({
146
128
  });
147
129
  ```
148
130
 
149
- ## What's New (v1.1.0)
131
+ ## What's New (v1.1.1)
150
132
 
151
133
  - **ProviderV3 Interface** - Full implementation of `ProviderV3` specification
152
- - **Completion Models** - Support for text completion via `apertis.completion()`
153
134
  - **Embedding Models** - Support for embeddings via `apertis.textEmbeddingModel()`
135
+ - **Schema Fixes** - More flexible response parsing for Apertis API compatibility
154
136
 
155
137
  ## Breaking Changes (v1.0.0)
156
138