19 lines
949 B
Markdown
19 lines
949 B
Markdown
## ADDED Requirements
|
|
### Requirement: Route Local Image Models Through Basic OpenAI Image Binding
|
|
The system SHALL route local OpenAI-compatible image models through the generic OpenAI image generation binding.
|
|
|
|
#### Scenario: Local image model is selected
|
|
- **GIVEN** a local provider profile exposes an image model from `/v1/models`
|
|
- **WHEN** image bindings are inferred for that model
|
|
- **THEN** the selected binding SHALL use protocol `openai.images.generations`
|
|
- **AND** request schema `openai.image.basic-json`
|
|
- **AND** submit path `/images/generations`
|
|
|
|
### Requirement: Support No-Auth Provider Transport
|
|
The system SHALL support provider profiles that intentionally send no authentication credentials.
|
|
|
|
#### Scenario: Provider auth type is none
|
|
- **GIVEN** a provider profile uses no authentication
|
|
- **WHEN** a provider request is prepared
|
|
- **THEN** the system SHALL NOT add Authorization, API key header, or API key query parameters
|