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

GPT4 integration #324

Merged
merged 4 commits into from
May 17, 2024
Merged

GPT4 integration #324

merged 4 commits into from
May 17, 2024

Conversation

Ghastly2001
Copy link
Contributor

i think it outlines a plan to evaluate the feasibility and cost-effectiveness of integrating the new GPT-4o model. The goal is to potentially reduce user costs by leveraging GPT-4o's purportedly lower pricing compared to GPT-4V.

i think it outlines a plan to evaluate the feasibility and cost-effectiveness of integrating the new GPT-4o model. The goal is to potentially reduce user costs by leveraging GPT-4o's purportedly lower pricing compared to GPT-4V.
skyvern/config.py Outdated Show resolved Hide resolved
@@ -71,6 +71,7 @@ class Settings(BaseSettings):
ENABLE_ANTHROPIC: bool = False
ENABLE_AZURE: bool = False
ENABLE_BEDROCK: bool = False
ENABLE_GPT_4O: bool = False
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need these changes! The change is easier than you think :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh, i get it. Thanks for the feedback, tho. :)

Copy link
Contributor

Choose a reason for hiding this comment

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

@Ghastly2001 are you open to updating the PR? I'd love to get this merged:)

@suchintan
Copy link
Contributor

LFG!!

@@ -43,6 +46,17 @@ def get_config(cls, llm_key: str) -> LLMRouterConfig | LLMConfig:
return cls._configs[llm_key]


# Check if GPT-4o is enabled and register it
if SettingsManager.get_settings().ENABLE_GPT_4O:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you can delete this entire block

skyvern/config.py Outdated Show resolved Hide resolved
skyvern/config.py Outdated Show resolved Hide resolved
Copy link
Contributor

@suchintan suchintan left a comment

Choose a reason for hiding this comment

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

Almost there!! Looking really good

@suchintan suchintan merged commit 8598f56 into Skyvern-AI:main May 17, 2024
1 of 2 checks passed
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.

None yet

2 participants