cendor-sdk 1.6.2
Provider-auth hardening: the first-run "where's my key?" paper cuts now fail loud and actionable.
No change for correct code.
Changed
- A live provider call that fails to authenticate while the keyless placeholder is in play now
raisesMissingAPIKeyError(exported fromcendor.sdk) naming the exact env var to set
(OPENAI_API_KEY,ANTHROPIC_API_KEY,AZURE_OPENAI_API_KEY,HF_TOKEN) and linking the docs,
instead of the provider's bare 401. It never fires when a real key or a pre-builtclient=was
supplied, on non-auth errors, or on keyless offline flows (cassette replay, pre-flight blocks). - Bedrock: passing
api_key=now raises a clear error (Bedrock authenticates via the AWS
credential chain, not an API key);base_url=maps to boto3'sendpoint_url. - Ollama:
base_url=maps to the ollama client'shost=(it previously collided with the
underlying httpx client and crashed); passingapi_key=raises a clear "local, no key" error.