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

gpt4o mini pricing for massive #957

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

wintonzheng
Copy link
Contributor

@wintonzheng wintonzheng commented Oct 11, 2024

Important

Update model_name for MASSIVE_AZURE_OPENAI_GPT4O_MINI and add model_info to LiteLLMParams and LLMConfig.

  • Behavior:
    • Update model_name for MASSIVE_AZURE_OPENAI_GPT4O_MINI in config_registry.py to azure/global-standard/gpt-4o-mini.
  • Models:
    • Add model_info to LiteLLMParams in models.py.
  • Config:
    • Add model_info to LLMConfig in config_registry.py.

This description was created by Ellipsis for 20157f4. It will automatically update as commits are pushed.

<!-- ELLIPSIS_HIDDEN -->

> [!IMPORTANT]
> Update `model_name` for `MASSIVE_AZURE_OPENAI_GPT4O_MINI` and add `model_info` to `LiteLLMParams` and `LLMConfig`.
>
>   - **Behavior**:
>     - Update `model_name` for `MASSIVE_AZURE_OPENAI_GPT4O_MINI` in `cloud/__init__.py` to `azure/global-standard/gpt-4o-mini`.
>   - **Models**:
>     - Add `model_info` to `LiteLLMParams` in `models.py`.
>   - **Config**:
>     - Add `model_info` to `LLMConfig` in `config_registry.py`.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for b893722187c451922ca6936c0419b7a54e4093f9. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on 20157f4 in 10 seconds

More details
  • Looked at 38 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/sdk/api/llm/models.py:11
  • Draft comment:
    Changing LiteLLMParams from TypedDict to dataclass is not backward compatible. Ensure this change is reflected throughout the codebase and does not break existing functionality.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_a24TD2cFfv1k7Wrv


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 20157f4 in 16 seconds

More details
  • Looked at 38 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. skyvern/forge/sdk/api/llm/models.py:15
  • Draft comment:
    The LLMConfig class is missing the model_info field as described in the PR. Consider adding it to align with the PR description.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_S9glKei1ET8drZJA


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@wintonzheng wintonzheng merged commit b536f1d into main Oct 11, 2024
2 checks passed
@wintonzheng wintonzheng deleted the shu/gpt4omini_pricing_model branch October 11, 2024 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant