Repository navigation
Releases
Releases · hardkoded/vercel-ai-sdk-dotnet
v0.4.0
What's Changed
- Batch: support structured output in startBatch and getBatchResults by @kblok in #1391
- SmoothStream: skip the delay while the document is hidden by @kblok in #1394
- streamText output: incremental array parser and output transform by @kblok in #1399
- toResponseMessages: put approval responses in the tool message like upstream by @kblok in #1400
- Port tool message and legacy URL download tests of convertToLanguageModelMessage by @kblok in #1401
- Add Tool.InputTransform for validate-tool-approvals transform tests by @kblok in #1411
- Port MistralEmbeddingModel and its options by @kblok in #1409
- streamLanguageModelCall follow-ups: request url origin, error normalization, percentiles by @kblok in #1408
- Run toModelOutput in ToResponseMessages only by @kblok in #1403
- parseToolCall: keep the input schema input when the input is transformed by @kblok in #1402
- prepareStep: pass and override experimental_sandbox by @kblok in #1415
- Add Agent with callOptionsSchema and per-call options by @kblok in #1412
- Port the transformed approved input UI round-trip streamText test by @kblok in #1416
- streamText: decide tool approvals as calls arrive (executeToolsFromStream ordering) by @kblok in #1418
- Add Liquid decision provider (vercel/ai#25161) by @kblok in #1420
- Return OpenAI Responses input transformations in provider metadata by @kblok in #1421
- Add Gateway experimental extraction model by @kblok in #1425
- Port withOpenAIResponseRedaction and telemetry redaction of raw bodies by @kblok in #1427
- OpenAI Responses: map compaction items to custom parts by @kblok in #1428
- Add Azure MAI-Image-2.7 models and background option by @kblok in #1430
- CreateAgentUIStream: support agent call options by @kblok in #1433
- Port Google prompt block reason message tests (vercel/ai#25162) by @kblok in #1431
- Agent: add the ai-sdk-agent/tool-loop user-agent header by @kblok in #1432
- Add extraction models to provider registries and custom providers by @kblok in #1423
- StreamTranslate: type OutputAudioFormat as AudioFormat like upstream by @kblok in #1439
- xAI: port xai-batch and route its calls through XaiError.FailedResponseHandler by @kblok in #1438
- Gateway: provider-style VercelRequestContext.Use(get) by @kblok in #1442
- xAI: port XaiImageModel and XaiSpeechModel by @kblok in #1441
- streamText/generateText: add OnEnd, deprecate OnFinish alias by @kblok in #1444
- Gateway: resolve credentials with the OIDC fallback in model and batch headers by @kblok in #1447
- Batch: typed output for batch results and batch-types type tests by @kblok in #1454
- streamText: StreamTextLowMemoryAsync single-consumer result and partialOutputStream guard by @kblok in #1462
- Expose OnLanguageModelCallStart and LanguageModelCallStartEvent publicly by @kblok in #1465
- Port streamText options.output onEnd tests (#1398) by @kblok in #1461
- streamText: add the experimental_transform option and wire smoothStream by @kblok in #1457
- Gateway: port 'should reuse gateway headers and fetch' for imageModel/videoModel by @kblok in #1449
- Google batch: start, status, cancel, list, and schema guard by @kblok in #1451
- StreamLanguageModelCall: port onStart by @kblok in #1463
- docs-site: regenerate the API reference by @kblok in #1455
- Port toolOrder for streamLanguageModelCall, generateText, streamText and agents by @kblok in #1464
- Port transform input schema tests with Tool.InputTransform by @kblok in #1468
- prepareTools: pass the sandbox session to tool description functions by @kblok in #1469
- streamText: extract the executeToolsFromStream transformer by @kblok in #1471
- Port Azure MAI-Image-2.7 transparent background example by @kblok in #1480
- Gateway: port generate-model-settings and its tests by @kblok in #1479
- Typed OutputSpec factories for Text, Choice and Json by @kblok in #1498
- Gateway: send team header and user-agent on batch requests by @kblok in #1494
- xAI image: parallel URL downloads, stricter headers/abort tests by @kblok in #1492
- streamObject: port StreamObjectAsync with the incremental array parser by @kblok in #1490
- Batch: port supportedUrls of BatchV4 by @kblok in #1484
- Forward preliminary flag on provider tool results by @kblok in #1482
- Add Gemini 4 Neon thinking levels by @kblok in #1481
- OpenAI Responses doGenerate: return request body with redaction view (#1426) by @kblok in #1478
- Port sandbox/toolsContext and executeLanguageModelCallInTelemetryContext of streamLanguageModelCall by @kblok in #1467
- Google batch: start image generation requests by @kblok in #1496
- Port remaining batch-types.test-d.ts type tests by @kblok in #1500
- generateText: notify OnEnd before structured-output parsing, as upstream by @kblok in #1493
- generateText: port onStart/onStepStart events with toolOrder by @kblok in #1510
- GenerateTextResult.Content aggregates content across all steps by @kblok in #1502
- Name the stepNumber/model callback test like upstream and mark it covered by @kblok in #1511
- streamText/generateText end result: expose callId, contexts, total usage and tool splits by @kblok in #1507
- Add the interrupt option to steering by @kblok in #1489
- streamText: compare string partial outputs directly by @kblok in #1503
- streamTextLowMemory: content collection, backpressure, response helpers by @kblok in #1509
- streamText: record steps, results and callbacks from the transformed stream by @kblok in #1514
- Google: preserve streamed tool ordering and signature history by @kblok in #1515
- streamText: port StreamRetryAttemptBoundaryPart and the tool queue reset by @kblok in #1517
- Mistral: realtime transcription over WebSocket by @kblok in #1522
- Sample/winforms gpt live by @kblok in #1529
- Gateway: opt-in streaming decoding of large base64 images by @kblok in #1521
- OpenAI: typed tool, tool-result and system-message options for Responses by @kblok in #1525
- Examples: port Open Responses bare extension example by @kblok in #1526
- Batch: convert prompt file URLs with the b...
v0.3.0
What's Changed
- Record telemetry spans for speech generation and transcription by @cursor[bot] in #16
- Send Perplexity integration attribution on provider requests by @cursor[bot] in #18
- Keep streamed OpenAI-compatible tool calls distinct when ids or indices are unreliable by @cursor[bot] in #24
- Keep idle UI message streams open with optional SSE heartbeats by @cursor[bot] in #23
- Default OpenAI Responses function tools to strict false by @cursor[bot] in #17
- Reject Azure resource names that would rewrite the request host by @cursor[bot] in #19
- Reject Bedrock regions and Vertex locations that would rewrite the request host by @cursor[bot] in #20
- Send Bedrock requestMetadata on Converse requests by @cursor[bot] in #21
- Mark generate and stream spans as error when the finish reason is error by @cursor[bot] in #22
- Port Perplexity language generation to the Agent API by @cursor[bot] in #25
- Track vercel/ai unit tests against the .NET suite by @kblok in #29
- Record numeric usage on speech, transcription, and text spans by @kblok in #28
- Align the .NET SDK with upstream unit-test behavior by @kblok in #158
- Port the remaining provider-utils helpers by @kblok in #165
- Add Darío Kondratiuk copyright line to file headers by @kblok in #166
- Treat Cerebras JSON text as the final answer over repeated tool calls by @kblok in #180
- Run the OpenAI upstream tests by @kblok in #177
- Throw an SDK error for audio with an empty subtype by @kblok in #167
- Resolve every model type through the registry and custom provider by @kblok in #225
- Throw MCPClientError from the MCP transports by @kblok in #168
- Expose Anthropic message-start usage as a custom stream part by @kblok in #169
- Select Cohere embedding formats with embeddingType by @kblok in #171
- Support custom reasoning delimiters in ExtractReasoningMiddleware by @kblok in #172
- Fix the main build after the embedding signature change by @kblok in #227
- Fix formatting on main and check it in CI by @kblok in #173
- Ignore Python bytecode caches by @kblok in #187
- Create real Anthropic models on Vertex by @kblok in #183
- Store no-cache and text token counts from each provider by @kblok in #203
- Stop three timing tests from flaking on CI by @kblok in #196
- Send the real SDK version in User-Agent headers by @kblok in #194
- Stream tool input parts to callers by @kblok in #226
- Cover unset includeUsage for all OpenAI-compatible model types by @kblok in #170
- Read options and word timings in Vertex Gemini transcription by @kblok in #175
- Record the response time on OpenAI-compatible image calls by @kblok in #176
- Rerank object documents with Together by @kblok in #178
- Cover OpenAI embedding response body and headers by @kblok in #179
- Poll AssemblyAI transcripts and pass provider options by @kblok in #182
- Send custom headers and the SDK user agent on Bedrock Mantle calls by @kblok in #184
- Check the exact JSON content type in OpenAI header tests by @kblok in #186
- Return response metadata and send call headers from Bedrock rerank by @kblok in #190
- Return DeepSeek file metadata and validate the upload response by @kblok in #191
- Fix DeepInfra reasoning usage and add image edits by @kblok in #193
- Upload OpenAI files from a stream by @kblok in #198
- Poll Luma generations and download the image by @kblok in #199
- Port the zod3 parser tests the schema builders can express by @kblok in #201
- Create Gemini Live auth tokens by @kblok in #202
- Classify OpenAI stream errors before the first output by @kblok in #204
- Resolve OpenAI chat file references and port the stream tests by @kblok in #208
- Map any Gateway failure through asGatewayError by @kblok in #212
- Port the QuiverAI SVG image model by @kblok in #214
- Port the Prodia image, language, and video models by @kblok in #217
- Generate Fal images, speech, and transcripts by @kblok in #218
- Make the Cohere chat model a real port by @kblok in #223
- Cover streamed Z.AI tool-call arguments by @kblok in #174
- Speak newline-delimited JSON over MCP stdio by @kblok in #209
- Add ElevenLabs transcription and full speech options by @kblok in #206
- Map Cartesia speech options and add batch transcription by @kblok in #207
- Keep Fireworks credentials off image CDNs by @kblok in #210
- Fix Fish Audio transcription upload and map speech options by @kblok in #211
- Add Deepgram speech and full transcription results by @kblok in #213
- Read both Baseten error shapes and match upstream defaults by @kblok in #215
- Decode Perplexity's quantized embeddings by @kblok in #216
- Read OpenAI skill versions as strings by @kblok in #181
- Report errors and logprobs in the OpenAI completion stream by @kblok in #185
- Drop diffusion options for Together non-diffusion image models by @kblok in #188
- Test the async credential path for Claude Platform on AWS by @kblok in #189
- Stream Hugging Face Responses by @kblok in #195
- Return metadata and headers from OpenAI image calls by @kblok in #197
- Return segments and metadata from OpenAI transcription by @kblok in #200
- Read options and word timings in Gemini transcription by @kblok in #205
- Poll Replicate predictions and return the images by @kblok in #219
- Port the ByteDance Seedream image and Seedance video models by @kblok in #224
- Authenticate the Vertex providers with a token callback by @kblok in #228
- Recognize Claude Haiku 5.5 in AnthropicModelCapabilities by @kblok in #244
- Add upstream porting rules to CLAUDE.md by @kblok in #252
- Limit the row size in ReadJsonLinesAsync by @kblok in #245
- Omit strict: false without a warning on Anthropic and Bedrock by @kblok in #246
- Generate the parity summaries instead of committing them by @kblok in https://github.com/hardkoded/vercel-ai-sd...