Atelia.Completion.Abstractions 0.1.0-preview.3

This is a prerelease version of Atelia.Completion.Abstractions.
dotnet add package Atelia.Completion.Abstractions --version 0.1.0-preview.3
                    
NuGet\Install-Package Atelia.Completion.Abstractions -Version 0.1.0-preview.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Atelia.Completion.Abstractions" Version="0.1.0-preview.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Atelia.Completion.Abstractions" Version="0.1.0-preview.3" />
                    
Directory.Packages.props
<PackageReference Include="Atelia.Completion.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Atelia.Completion.Abstractions --version 0.1.0-preview.3
                    
#r "nuget: Atelia.Completion.Abstractions, 0.1.0-preview.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Atelia.Completion.Abstractions@0.1.0-preview.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Atelia.Completion.Abstractions&version=0.1.0-preview.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Atelia.Completion.Abstractions&version=0.1.0-preview.3&prerelease
                    
Install as a Cake Tool

Atelia.Completion.Abstractions

net10.0 的模型调用合同:请求与共享前缀、历史消息、工具声明、完成状态、usage 和 provider 来源描述。它不依赖 Diagnostics、Tools 或 provider 实现。

dotnet add package Atelia.Completion.Abstractions --version 0.1.0-preview.3

本包使用 MIT 许可证。

  • ICompletionClient.StreamCompletionAsync 接收 CompletionRequest、observer 与调用者 CancellationToken。
  • 只有 Completed 结果正文进入成功业务处理;Incomplete/Failed 与终止前结果不确定分开处理。observer 增量不代表成功。
  • CompletionResult.Message 是可回灌的 ActionMessage;envelope 本身不是历史消息。reasoning payload 保留原 Origin 与协议身份,不能用正文替代。
  • CompletionUsage 的 null 表示未知,不能为了统计填零。usage 不进入持久请求身份。
  • 工具仅由 PromptPrefix.OutputContract 声明;工具结果须按调用 ID 和工具名一一对齐。执行与副作用责任归实现和宿主。

对应版本快速上手包含完整 public client 示例;具体客户端来自另一个 Atelia.Completion 包。

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Atelia.Completion.Abstractions:

Package Downloads
Atelia.Completion

Atelia Completion library.

Atelia.Completion.Tools

Atelia Completion.Tools library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.3 61 9/23/2026
0.1.0-preview.2 57 9/20/2026
0.1.0-preview.1 67 9/14/2026