Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

add support for o1/o1-mini ENG-1114#32

Merged
r0ymanesco merged 3 commits into
mainfrom
t7-support-o1
Sep 24, 2024
Merged

add support for o1/o1-mini ENG-1114#32
r0ymanesco merged 3 commits into
mainfrom
t7-support-o1

Conversation

@r0ymanesco
Copy link
Copy Markdown
Contributor

Add support for o1 and o1-mini

@r0ymanesco r0ymanesco requested a review from acompa September 24, 2024 14:53
@r0ymanesco r0ymanesco marked this pull request as ready for review September 24, 2024 14:53
Copy link
Copy Markdown
Contributor

@acompa acompa left a comment

Choose a reason for hiding this comment

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

Clarifying some stylistic q's, but otherwise only want to block until we confirm including the wheels for SQLAlchemy.

Comment thread notdiamond/llms/providers.py Outdated
Comment thread notdiamond/llms/providers.py Outdated
Comment on lines +92 to +95
o1_PREVIEW = ("openai", "o1-preview")
o1_PREVIEW_2024_09_12 = ("openai", "o1-preview-2024-09-12")
o1_MINI = ("openai", "o1-mini")
o1_MINI_2024_09_12 = ("openai", "o1-mini-2024-09-12")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same as above:

Suggested change
o1_PREVIEW = ("openai", "o1-preview")
o1_PREVIEW_2024_09_12 = ("openai", "o1-preview-2024-09-12")
o1_MINI = ("openai", "o1-mini")
o1_MINI_2024_09_12 = ("openai", "o1-mini-2024-09-12")
O1_PREVIEW = ("openai", "o1-preview")
O1_PREVIEW_2024_09_12 = ("openai", "o1-preview-2024-09-12")
O1_MINI = ("openai", "o1-mini")
O1_MINI_2024_09_12 = ("openai", "o1-mini-2024-09-12")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment thread notdiamond/settings.py
Comment thread poetry.lock
optional = true
python-versions = ">=3.7"
files = [
{file = "SQLAlchemy-2.0.34-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:95d0b2cf8791ab5fb9e3aa3d9a79a0d5d51f55b6357eecf532a120ba3b5524db"},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Did you intend to include these wheels here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This must have been added when I updated openai. I don't know why it was ever a dependency but clearly it was already there before I ran the update

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's actually a dependency of langchain

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Well if langchain + poetry brought them in they must be intentional 🤷🏼

@r0ymanesco r0ymanesco merged commit 01a26ef into main Sep 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants