chore: release 1.1.0 with the response observability fields
This commit is contained in:
@@ -31,7 +31,7 @@ from polygateway.types import (
|
||||
SourceConfig,
|
||||
)
|
||||
|
||||
__version__ = "1.0.3"
|
||||
__version__ = "1.1.0"
|
||||
|
||||
__all__ = [
|
||||
"DEFAULT_PROFILES",
|
||||
|
||||
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
|
||||
|
||||
|
||||
class TelemetryEmitter:
|
||||
"""从请求与结果组装 18 字段并写入 recorder;一切写失败降级 warning。"""
|
||||
"""从请求与结果组装 20 字段并写入 recorder;一切写失败降级 warning。"""
|
||||
|
||||
def __init__(self, recorder: TelemetryRecorder, *, pricing: PricingTable | None = None) -> None:
|
||||
self._recorder = recorder
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
**零内置单价**: 实验室走中转网关,计费非官方牌价;库内硬编码单价表
|
||||
必然过时并掩盖真实成本(P5 严禁默认值掩盖错误)。价格一律由使用方
|
||||
提供——JSON 文件(`PGW_PRICING_PATH`)或 dict 注入;币种由使用方全表
|
||||
统一口径,库不设币种字段(18 字段冻结)。查不到的 model → cost=None
|
||||
统一口径,库不设币种字段(20 字段冻结)。查不到的 model → cost=None
|
||||
且每 model 仅首次 warning(防日志风暴),不阻塞调用。
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user