Skip to content

fix: replace fictional OpenAI default model IDs with production models - #19

Open
Adityakk9031 wants to merge 1 commit into
context-dot-dev:mainfrom
Adityakk9031:#17
Open

fix: replace fictional OpenAI default model IDs with production models#19
Adityakk9031 wants to merge 1 commit into
context-dot-dev:mainfrom
Adityakk9031:#17

Conversation

@Adityakk9031

Copy link
Copy Markdown

close #17

Description

This PR replaces fictional/mock default OpenAI model names (gpt-5.4-nano, gpt-4.1-nano, etc.) in the model catalog configuration with actual, production-ready, and cost-effective OpenAI models (gpt-4o-mini and gpt-4o). This prevents default-configured summarization and triage requests from failing with a 404 (model not found) error.

Changes

  • Updated AI_MODELS_BY_PROVIDER in src/lib/ai-models.ts to map the openai and vercel_gateway configurations to gpt-4o-mini (recommended) and gpt-4o.

Verification

  • Tested locally by running the unit tests (npm run test) which all pass successfully.
  • Verified catalog compatibility with the Vercel AI SDK.

@Adityakk9031

Copy link
Copy Markdown
Author

@YahiaBakour have a look

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.

Fictional default OpenAI model IDs cause change summaries and triage to crash with 404 error

1 participant