main
API: Move OpenAI-compatible API from extensions/openai to modules/api
API: Add thinking block signature field, fix error codes, clean up logging
API: Fix crash on list-format content in tool and assistant messages
Remove hardcoded trust_remote_code=True in embedding loader
Image generation: Embed generation metadata in API image responses
Fix API model load silently dropping hyphenated arg keys (closes #7577)
Restrict CORS to localhost by default to prevent drive-by API access
Add `preserve_thinking` chat template parameter (UI and CLI)
API: Fix _start_cloudflared raising after first attempt instead of exhausting retries