89210346b8
- videoMIME no longer hard-falls-back to video/mp4: a 2xx body that is neither declared nor sniffable as video (JSON job envelope, HTML error page) is now an APIError instead of a 'successful' corrupt clip. - Resolution rides the wire as width/height AND the OpenAI-style size string, so either upstream convention honors an explicit request. - writeFormFields + mimeFromContentType shared helpers replace the copied multipart loop (audio.go/video.go) and Content-Type branch. - ADR-0019 indexed in docs/adr/README.md; README gains the videogen section + support-matrix mention (docs-parity rule). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AXQxVhXBw8PwFAtsVrXSmj
26 lines
2.1 KiB
Markdown
26 lines
2.1 KiB
Markdown
# Architecture Decision Records
|
|
|
|
One decision per file, append-only; supersede rather than rewrite.
|
|
|
|
| ADR | Title | Status |
|
|
|-----|-------|--------|
|
|
| [0001](0001-package-layout.md) | Package layout — canonical types in leaf `llm`, root re-exports | Accepted |
|
|
| [0002](0002-canonical-message-model.md) | Canonical message/content model | Accepted |
|
|
| [0003](0003-parse-grammar.md) | Parse grammar — verbatim ids, inline alias expansion, chains | Accepted |
|
|
| [0004](0004-env-dsn-providers.md) | LLM_* env-DSN provider definitions (go-llm parity + eager load) | Accepted |
|
|
| [0005](0005-provider-capabilities.md) | Provider interface and capabilities model | Accepted |
|
|
| [0006](0006-health-and-backoff.md) | Model health tracking and backoff | Accepted |
|
|
| [0007](0007-dependency-policy.md) | Dependency policy — stdlib-first, hand-rolled REST clients | Accepted |
|
|
| [0008](0008-chain-semantics.md) | Failover-chain execution semantics | Accepted |
|
|
| [0009](0009-multimodal-strategy.md) | Multimodal strategy — normalize per target, enforce at provider | Accepted |
|
|
| [0010](0010-tools-structured-output-mapping.md) | Tools and structured output — canonical shape, native mappings | Accepted |
|
|
| [0011](0011-google-provider.md) | Google provider on the official Gen AI SDK | Accepted |
|
|
| [0012](0012-agent-loop.md) | Agent run loop | Accepted |
|
|
| [0013](0013-skill-model.md) | Skill model — additive instruction+tool bundles | Accepted |
|
|
| [0014](0014-conversion-driven-extensions.md) | Conversion-driven extensions (resolvers, typed tools, hooks, ops controls) | Accepted |
|
|
| [0015](0015-llama-swap-provider.md) | llama-swap provider — reuse openai for chat, tailored management + image | Accepted |
|
|
| [0016](0016-imagegen-interface.md) | imagegen — a canonical text-to-image interface | Accepted |
|
|
| [0017](0017-audio-interfaces.md) | audio — canonical speech synthesis + transcription interfaces | Accepted |
|
|
| [0018](0018-imagegen-editor.md) | imagegen.Editor — image-to-image as a separate optional interface | Accepted |
|
|
| [0019](0019-videogen-interface.md) | videogen — canonical video-generation surface | Accepted |
|