feat: preserve governed OpenAI tool messages in 1.4.0

Add faithful single-choice chat results, tool stream activity, error-frame retries, and isolated protocol caching.

Reject empty cached completions with the same value predicate as transport, add regression coverage, and adopt Apache-2.0.
This commit is contained in:
2026-10-01 14:32:19 -04:00
parent 0e29deac1a
commit 9185eab8c9
42 changed files with 2227 additions and 78 deletions
+5 -1
View File
@@ -47,12 +47,14 @@ from polygateway.types import (
OcrLayoutElement,
OcrLayoutResult,
OcrTextResult,
OpenAIChatCompletion,
ResponseMode,
SourceConfig,
TelemetryStatus,
ThinkingObservation,
)
__version__ = "1.3.8"
__version__ = "1.4.0"
__all__ = [
"DEFAULT_PROFILES",
@@ -70,6 +72,8 @@ __all__ = [
"GatewayUnavailableError",
"GovernanceBackendError",
"LLMResponse",
"ResponseMode",
"OpenAIChatCompletion",
"ModelPrice",
"OcrClient",
"OcrLayoutElement",