Api-Key
·
18 commits
to Release-Async
since this release
2.2.12.1
Proxy:
- Add status checker
- Add ability to validate requests via api-key
- Add ability to call backend via api-key
- Allow bakend api keys to be configured outside Hostn so Hostn_api_key can be backed via keyvault.
RequestAPI:
- Add status checker
APIM Policy:
- Version changed to v2.1.0
- Backend field names changed:
priority->priorityGroupModelType->labelapi-key->authLimitConcurrency,BufferResponse, andTimeoutare now read aslimitConcurrency,bufferResponse, andtimeout
- Authentication is now explicit:
- In v2.0.1, an empty
api-keymeant "use Managed Identity". - In v2.1.0,
auth: "MI"means Managed Identity,auth: "<key>"means sendapi-key: <key>, andauth: ""means send no auth header.
- In v2.0.1, an empty
- Backend URLs are now composed from
urlplus optionalpath:- In v2.0.1, the policy appended
/openaiwhen buildingbackendUrl. - In v2.1.0, the policy combines
urlandpathduring normalization and uses the result as-is. - If you relied on the automatic
/openaiappend, add"path": "/openai"or include/openaidirectly inurl.
- In v2.0.1, the policy appended
- Missing backend settings now get defaults:
- If
limitConcurrencyis omitted, the policy sets it tooff. - If
bufferResponseis omitted, the policy sets it totrue. - If
timeoutis omitted, the policy sets it to10seconds.
- If
- Retry budget handling bug fix:
- v2.0.1 allowed the request path to keep going while
RetryCount >= 0. - v2.1.0 only retries while
RetryCount > 0. - If you previously used
retryCount: 1the policy retried twice. For the same behaviour increase it to2.
- v2.0.1 allowed the request path to keep going while
- PTU skip-on-context-window now keys off
label:- In v2.0.1, the context-window-exceeded path skipped PTU backends when
ModelType == "PTU". - In v2.1.0, it skips them when
label == "PTU".
- In v2.0.1, the context-window-exceeded path skipped PTU backends when