Skip to content

Upgrade default OpenAI model from gpt-4o to gpt-4.1#652

Closed
timrogers wants to merge 1 commit into
mainfrom
claude/openai-model-upgrade-37trde
Closed

Upgrade default OpenAI model from gpt-4o to gpt-4.1#652
timrogers wants to merge 1 commit into
mainfrom
claude/openai-model-upgrade-37trde

Conversation

@timrogers

Copy link
Copy Markdown
Owner

Summary

  • Upgrades the default OpenAI model constant (OPENAI_MODEL) in src/llm.rs from gpt-4o to gpt-4.1
  • gpt-4.1 is OpenAI's latest flagship model with improved instruction following and vision capabilities
  • Both text-only (category inference) and vision (receipt inference) flows benefit from this upgrade

Test plan

  • Run the category inference flow with an OpenAI API key and confirm it calls gpt-4.1
  • Run the receipt inference flow with an image receipt and confirm vision extraction works correctly
  • Verify existing tests pass (cargo test)

🤖 Generated with Claude Code

https://claude.ai/code/session_017ddq7uEqpJGTPHYCjbPC91


Generated by Claude Code

gpt-4.1 is OpenAI's latest flagship model with improved instruction
following and vision capabilities.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017ddq7uEqpJGTPHYCjbPC91
@timrogers timrogers closed this Jun 25, 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