Don't silently swap to a different model when the user's selection is unknown. Pass whatever the user configured to OpenRouter and let the API error clearly. Fallback chain: caller hint → saved option → PRAUTOBLOGGER_DEFAULT_IMAGE_MODEL constant. Cost estimation for unknown models logs a warning and uses a conservative $0.05 estimate. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3.2 KiB
3.2 KiB