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 support for 'o1-preview' and 'o1-mini' models #3659

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

RONNCC
Copy link
Contributor

@RONNCC RONNCC commented Sep 13, 2024

Add support for 'o1-preview' and 'o1-mini' model names in the OpenAI API.

  • Update models.json:
    • Add 'o1-preview' model details with appropriate parameters and metadata.
    • Add 'o1-mini' model details with appropriate parameters and metadata.

Closes #3652


For more details, open the Copilot Workspace session.

@RONNCC
Copy link
Contributor Author

RONNCC commented Sep 13, 2024

cc @louis-jan 🙏

Copy link
Contributor

@dan-homebrew dan-homebrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@louis-jan This lgtm, but can you check through to make sure it doesn't brick for existing users?

Copy link
Contributor

@louis-jan louis-jan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution, @RONNCC, the PR looks really great to me.

FYI: We will proceed with this PR later after the 0.5.4 release.

@louis-jan louis-jan self-assigned this Sep 16, 2024
Add support for 'o1-preview' and 'o1-mini' model names in the OpenAI API.

* **Update `models.json`**:
  - Add 'o1-preview' model details with appropriate parameters and metadata.
  - Add 'o1-mini' model details with appropriate parameters and metadata.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/janhq/jan?shareId=XXXX-XXXX-XXXX-XXXX).
@RONNCC
Copy link
Contributor Author

RONNCC commented Sep 16, 2024

Sounds good and appreciate y'alls assistance to review!

I'll assume y'all will own the rest of the process (i.e. merging) -- Thanks

@louis-jan louis-jan merged commit 670013b into janhq:dev Sep 17, 2024
9 checks passed
@RONNCC RONNCC deleted the add-o1-models branch September 17, 2024 04:51
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.

idea: add support for OpenAI o1-preview and o1-mini
3 participants