Skip to content

Default Ask AI edit model: flux.2-pro - #25

Closed
mauricewipf wants to merge 1 commit into
masterfrom
cursor/default-edit-model-flux-cf7e
Closed

mauricewipf wants to merge 1 commit into
masterfrom
cursor/default-edit-model-flux-cf7e

Conversation

@mauricewipf

Copy link
Copy Markdown
Owner

Summary

Changes the default OpenRouter image edit model from google/gemini-3.1-flash-lite-image to black-forest-labs/flux.2-pro for better photo fidelity on *.edit.jpg sidecars.

  • src/credentials.rs: DEFAULT_EDIT_MODEL updated; new credential files still get ASK_MODEL + EDIT_MODEL defaults.
  • README.md: Ask AI section names the new edit model.
  • Ask model unchanged: DEFAULT_ASK_MODEL remains google/gemini-3.5-flash-lite.
  • Overrides unchanged: Existing EDIT_MODEL= in ~/.config/hallward/credentials still wins.

No second credentials path; OpenRouter-only.

For @software Tester

  • Assert hallward::credentials::DEFAULT_EDIT_MODEL == "black-forest-labs/flux.2-pro".
  • Integration tests use the EDIT_MODEL re-export (not a hardcoded Gemini string); custom_models_from_credentials_file_are_used_in_requests still validates override behavior.
  • Ran full cargo test (unit + ask_ai + e2e_tui): all passed.
Open in Web Open in Cursor 

Switch DEFAULT_EDIT_MODEL from google/gemini-3.1-flash-lite-image for
better photo fidelity on *.edit.jpg sidecars. ASK_MODEL unchanged;
EDIT_MODEL in credentials still overrides.

Co-authored-by: Maurice Wipf <mauricewipf@users.noreply.github.com>
@mauricewipf mauricewipf closed this Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants