-
Notifications
You must be signed in to change notification settings - Fork 868
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 azure o3 mini #1711
add azure o3 mini #1711
Conversation
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add Azure O3 Mini support with new settings and configuration registration in `config.py` and `config_registry.py`. > > - **Settings**: > - Add `ENABLE_AZURE_O3_MINI` flag in `Settings` class in `config.py`. > - Add Azure O3 Mini related settings: `AZURE_O3_MINI_DEPLOYMENT`, `AZURE_O3_MINI_API_KEY`, `AZURE_O3_MINI_API_BASE`, `AZURE_O3_MINI_API_VERSION`. > - **Configuration**: > - Register `AZURE_OPENAI_O3_MINI` configuration in `LLMConfigRegistry` in `config_registry.py`. > - Set `litellm_params` with `api_base`, `api_key`, `api_version`, and model info for Azure O3 Mini. > - Configure with `supports_vision=False`, `add_assistant_prefix=False`, `max_completion_tokens=16384`, `temperature=None`, `reasoning_effort="low"`. > > <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 e65e77213e2e9494722ea7341cec204e01f0f699. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN -->
There was a problem hiding this 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 197cc60 in 34 seconds
More details
- Looked at
61
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
4
drafted comments based on config settings.
1. skyvern/config.py:106
- Draft comment:
Add AZURE_O3_MINI settings. Consider adding a brief comment to explain these new settings for clarity and consistency with other Azure provider configs. - Reason this comment was not posted:
Confidence changes required:33%
None
2. skyvern/forge/sdk/api/llm/config_registry.py:282
- Draft comment:
New AZURE_OPENAI_O3_MINI registration looks consistent. Ensure the naming and parameter choices (like 'reasoning_effort: low' and temperature=None) align with intended behavior. - Reason this comment was not posted:
Confidence changes required:33%
None
3. skyvern/config.py:105
- Draft comment:
Add documentation for the new AZURE_O3_MINI settings block (flag and env vars) for clarity. - Reason this comment was not posted:
Confidence changes required:33%
None
4. skyvern/forge/sdk/api/llm/config_registry.py:282
- Draft comment:
Verify that 'reasoning_effort' being set to 'low' for AZURE_OPENAI_O3_MINI is intentional and aligns with expected behavior. - Reason this comment was not posted:
Confidence changes required:33%
None
Workflow ID: wflow_3XSmxuHe4MyTRNvo
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this 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 197cc60 in 35 seconds
More details
- Looked at
61
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
4
drafted comments based on config settings.
1. skyvern/config.py:105
- Draft comment:
Ensure documentation for new ENABLE_AZURE_O3_MINI flag and its related env vars is added for clarity. - Reason this comment was not posted:
Comment did not seem useful.
2. skyvern/forge/sdk/api/llm/config_registry.py:282
- Draft comment:
Confirm consistency of reasoning_effort ('low') compared to similar configurations (e.g., OPENAI_O3_MINI) and verify naming conventions. - Reason this comment was not posted:
Marked as duplicate.
3. skyvern/config.py:106
- Draft comment:
Consider adding a brief inline comment for the new ENABLE_AZURE_O3_MINI flag and its related settings to clarify its purpose. - Reason this comment was not posted:
Confidence changes required:20%
None
4. skyvern/forge/sdk/api/llm/config_registry.py:282
- Draft comment:
The new AZURE_OPENAI_O3_MINI config sets reasoning_effort to 'low' while the similar OPENAI_O3_MINI config uses 'high'. Confirm if this difference is intentional. - Reason this comment was not posted:
Comment did not seem useful.
Workflow ID: wflow_AZKb0GRb6CEWZWdB
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Add support for Azure O3 Mini model configuration in
skyvern
with new settings and registration logic.AZURE_O3_MINI
model inconfig_registry.py
.AZURE_O3_MINI
configuration withLLMConfigRegistry
ifENABLE_AZURE_O3_MINI
is true.ENABLE_AZURE_O3_MINI
,AZURE_O3_MINI_DEPLOYMENT
,AZURE_O3_MINI_API_KEY
,AZURE_O3_MINI_API_BASE
,AZURE_O3_MINI_API_VERSION
toSettings
inconfig.py
.This description was created by
for 197cc60. It will automatically update as commits are pushed.