Resolve authentication diagnostics by provider
This commit is contained in:
@@ -253,7 +253,7 @@ backends:
|
||||
endpoint: https://openrouter.ai/api/v1/key
|
||||
```
|
||||
|
||||
An omitted or null `smoke_tests` block disables these metadata defaults.
|
||||
An omitted or null `smoke_tests` block removes its declared metadata.
|
||||
`default_profile` is preserved as an exact, nonblank profile ID; its existence
|
||||
is checked only if an inference diagnostic selects that default. Omitted/null
|
||||
`default_profile` means there is no inference default. Omitted/null
|
||||
@@ -262,14 +262,17 @@ reachability endpoint is trimmed and must be an absolute HTTP(S) URL with a
|
||||
host; unlike the backend base endpoint, its path and query are allowed. Null
|
||||
means fallback, while an explicit blank value is invalid.
|
||||
|
||||
Omitted/null `authentication` means no authentication adapter is declared. A
|
||||
non-null object's optional `kind` is trimmed and case-normalized; accepted
|
||||
Omitted/null `authentication` leaves the provider's diagnostic default in
|
||||
effect; `openrouter` defaults to `openrouter_key` and the generic provider has
|
||||
no default. A non-null object's optional `kind` is trimmed and case-normalized; accepted
|
||||
values are `none`, `openrouter_key`, and `vllm_models`. Its omitted/null endpoint
|
||||
uses the adapter's backend-relative destination (`openrouter_key` appends
|
||||
`/key` to the effective backend base); an explicit endpoint follows the same
|
||||
full-URL rules as reachability. `none` declares authentication inapplicable.
|
||||
Without a selected adapter, or for `vllm_models`, authentication diagnostics
|
||||
currently report an unsupported selection.
|
||||
currently report an unsupported selection. An endpoint-only authentication
|
||||
block overrides the destination of a provider default; `kind: none` suppresses
|
||||
that default.
|
||||
These values are configuration only: engine construction does not contact a
|
||||
backend.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user