Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gpt-4o-mini, and set as default chat model #923

Open
chriswilty opened this issue Sep 25, 2024 · 0 comments
Open

Add gpt-4o-mini, and set as default chat model #923

chriswilty opened this issue Sep 25, 2024 · 0 comments
Labels
backend Requires work on the backend enhancement New feature or request good first issue Simple issue

Comments

@chriswilty
Copy link
Member

Feature Request

Description

Model gpt-4o-mini has been released, adding to the increasing unpredictability of model naming by OpenAI 🙄

Tasks:

  • Add to available models, in backend/src/models/chat.ts, with context window size = 128000
  • Set as default Chat model if available, in backend/src/langchain.ts function getChatModel()
  • add extra tests to cover new models: refer to tests added / augmented in 912: Update available GPT models #915

Additional context

Relates to #912, which was the previous time we added models

Acceptance criteria

GIVEN I am logged in and in Sandbox level
WHEN I open the Model Configuration section in the sidebar
THEN gpt-4o-mini is selected as default chat model

GIVEN I am logged in and in Sandbox level
WHEN I open the Model Configuration section in the sidebar
AND open the Select Model dropdown
THEN I see GPT models available to me (at time of writing: gpt-3.5-turbo, gpt-4, gpt-4-turbo, gpt-4o, gpt-4o-mini)

@chriswilty chriswilty added enhancement New feature or request triage New tickets to be checked by the maintainers backend Requires work on the backend good first issue Simple issue and removed triage New tickets to be checked by the maintainers labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires work on the backend enhancement New feature or request good first issue Simple issue
Projects
None yet
Development

No branches or pull requests

1 participant