Provider Hub v0.6.7
Highlights
- Adds a permanent 一键填写规格 action in the Model Specifications page.
- Runs separate field-focused searches for context window, maximum output, and reasoning effort.
- Safely reads accessible HTTPS source pages with public-address validation, DNS pinning, redirect blocking, timeout, content-type, and size limits.
- Preserves official-first and two-independent-community-domain evidence rules with model-local field attribution.
- Adds request-level usage and billing logs: request/provider IDs, key route, model, retries, status, finish reason, input/cache/output/reasoning/total tokens, time to first token, total latency, rate-limit remainder, and cost source.
- Uses provider-reported usage/cost when available; otherwise marks token estimates and only estimates cost when per-model route pricing is configured.
- Adds per-model pricing JSON configuration in currency units per one million tokens.
- Never logs prompts, full responses, API keys, credential references, or full upstream URLs.
Verification
- 85/85 automated tests passed.
- One-click management API acceptance test fills and hot-syncs model specifications from fetched page evidence.
- Production fetch-path tests cover pinned public DNS, HTML extraction, non-public address blocking, and malformed search tolerance.
- Non-stream and SSE pass-through tests cover usage, cost, first-token latency, and redaction.
- Detailed log UI passed strict visual review.
SHA-256: 9BE72110C535362045822615CA17488A00FC6B933EC6C8D0400C2ED5288AB885