Skip to content

OpenAISSEGuard 0.1.0

Latest

Choose a tag to compare

@airouter-dev airouter-dev released this 18 Aug 06:09

Bounded SSE replay evidence for SwiftPM

OpenAISSEGuard is a dependency-free observer for OpenAI-compatible SSE streams. It distinguishes Chat Completions, Responses terminal events, [DONE], incomplete/error states, bounded identifiers, and unexpected EOF without retaining generated text or choosing an HTTP retry policy.

Install

Add https://github.com/airouter-dev/openai-sse-guard-swift.git from 0.1.0 to a SwiftPM manifest.

Useful links

Validation

The tagged CI run passed swift package dump-package and 11 XCTest cases on Swift 5.9 (Ubuntu/macOS) and Swift 6.0 (Ubuntu).