-
Notifications
You must be signed in to change notification settings - Fork 789
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
shu/removeSettingsManager.get_settings #1305
Conversation
- commit cloud/webeye/setup/action_input.py - commit - commit - commit - commit - commit - commit - commit - commit 2 more - commit more - commit more <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Replaces `SettingsManager.get_settings()` with `settings` for configuration access and adds Gemini API settings. > > - **Behavior**: > - Replaces `SettingsManager.get_settings()` with `settings` in `action_input.py`, `url.py`, and `retry_llm_request.py` for accessing configuration settings. > - Updates `run_task.py`, `run_workflow.py`, and `analytics.py` to use `settings` for configuration access. > - **Configuration**: > - Modifies `config.py` to include new settings `ENABLE_GEMINI` and `GEMINI_API_KEY`. > - **Misc**: > - Updates `__main__.py`, `api_app.py`, and `aws.py` to use `settings` for configuration. > - Changes `files.py`, `llm/api_handler_factory.py`, and `llm/config_registry.py` to use `settings`. > - Updates `local.py`, `security.py`, and `forge_log.py` to use `settings`. > - Modifies `agent_protocol.py`, `org_auth_service.py`, and `block.py` to use `settings`. > - Updates `service.py`, `handler.py`, and `models.py` to use `settings`. > - Changes `browser_factory.py`, `scraper.py`, and `dom.py` to use `settings`. > - Updates `page.py` and `temporal_activities.py` to use `settings`. > > <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 ad83813b3e5000712f5236dcb3619028d3cd2370. 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! Reviewed everything up to 5139d34 in 37 seconds
More details
- Looked at
1414
lines of code in23
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. skyvern/webeye/actions/handler.py:15
- Draft comment:
Ensure thatsettings
is properly initialized and imported in all contexts where it is used. This change replacesSettingsManager.get_settings()
withsettings
, which assumessettings
is always available and correctly configured. - Reason this comment was not posted:
Confidence changes required:50%
The PR replacesSettingsManager.get_settings()
withsettings
for configuration access. This change is consistent across the files, ensuring a uniform approach to accessing settings. However, there is a potential issue with the use ofsettings
directly without ensuring that it is properly initialized or imported in all contexts. This could lead to runtime errors ifsettings
is not available or correctly configured in some parts of the code.
Workflow ID: wflow_bQSulrb6rHOU8hBK
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! Incremental review on 5139d34 in 1 minute and 5 seconds
More details
- Looked at
1414
lines of code in23
files - Skipped
0
files when reviewing. - Skipped posting
6
drafted comments based on config settings.
1. skyvern/webeye/actions/handler.py:374
- Draft comment:
Ensure thatsettings.BROWSER_ACTION_TIMEOUT_MS
is defined and correctly configured inskyvern.config
. This change replacesSettingsManager.get_settings().BROWSER_ACTION_TIMEOUT_MS
withsettings.BROWSER_ACTION_TIMEOUT_MS
, which should be verified for correctness. - Reason this comment was not posted:
Confidence changes required:50%
The PR replacesSettingsManager.get_settings()
withsettings
for configuration access. This change is consistent across multiple files, includinghandler.py
,models.py
,browser_factory.py
,scraper.py
,dom.py
, andpage.py
. The change is straightforward and aligns with the PR description.
2. skyvern/webeye/actions/models.py:48
- Draft comment:
Ensure thatsettings.DEBUG_MODE
is defined and correctly configured inskyvern.config
. This change replacesSettingsManager.get_settings().DEBUG_MODE
withsettings.DEBUG_MODE
, which should be verified for correctness. - Reason this comment was not posted:
Confidence changes required:50%
The PR replacesSettingsManager.get_settings()
withsettings
for configuration access. This change is consistent across multiple files, includinghandler.py
,models.py
,browser_factory.py
,scraper.py
,dom.py
, andpage.py
. The change is straightforward and aligns with the PR description.
3. skyvern/webeye/browser_factory.py:145
- Draft comment:
Ensure thatsettings.VIDEO_PATH
is defined and correctly configured inskyvern.config
. This change replacesSettingsManager.get_settings().VIDEO_PATH
withsettings.VIDEO_PATH
, which should be verified for correctness. - Reason this comment was not posted:
Confidence changes required:50%
The PR replacesSettingsManager.get_settings()
withsettings
for configuration access. This change is consistent across multiple files, includinghandler.py
,models.py
,browser_factory.py
,scraper.py
,dom.py
, andpage.py
. The change is straightforward and aligns with the PR description.
4. skyvern/webeye/scraper/scraper.py:304
- Draft comment:
Ensure thatsettings.MAX_SCRAPING_RETRIES
is defined and correctly configured inskyvern.config
. This change replacesSettingsManager.get_settings().MAX_SCRAPING_RETRIES
withsettings.MAX_SCRAPING_RETRIES
, which should be verified for correctness. - Reason this comment was not posted:
Confidence changes required:50%
The PR replacesSettingsManager.get_settings()
withsettings
for configuration access. This change is consistent across multiple files, includinghandler.py
,models.py
,browser_factory.py
,scraper.py
,dom.py
, andpage.py
. The change is straightforward and aligns with the PR description.
5. skyvern/webeye/utils/dom.py:316
- Draft comment:
Ensure thatsettings.BROWSER_ACTION_TIMEOUT_MS
is defined and correctly configured inskyvern.config
. This change replacesSettingsManager.get_settings().BROWSER_ACTION_TIMEOUT_MS
withsettings.BROWSER_ACTION_TIMEOUT_MS
, which should be verified for correctness. - Reason this comment was not posted:
Confidence changes required:50%
The PR replacesSettingsManager.get_settings()
withsettings
for configuration access. This change is consistent across multiple files, includinghandler.py
,models.py
,browser_factory.py
,scraper.py
,dom.py
, andpage.py
. The change is straightforward and aligns with the PR description.
6. skyvern/webeye/utils/page.py:40
- Draft comment:
Ensure thatsettings.BROWSER_ACTION_TIMEOUT_MS
is defined and correctly configured inskyvern.config
. This change replacesSettingsManager.get_settings().BROWSER_ACTION_TIMEOUT_MS
withsettings.BROWSER_ACTION_TIMEOUT_MS
, which should be verified for correctness. - Reason this comment was not posted:
Confidence changes required:50%
The PR replacesSettingsManager.get_settings()
withsettings
for configuration access. This change is consistent across multiple files, includinghandler.py
,models.py
,browser_factory.py
,scraper.py
,dom.py
, andpage.py
. The change is straightforward and aligns with the PR description.
Workflow ID: wflow_JFszqggPGVTZXMLH
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Important
Replaces
SettingsManager.get_settings()
withsettings
across multiple files for configuration access and adds Gemini API settings.SettingsManager.get_settings()
withsettings
inaction_input.py
,url.py
, andretry_llm_request.py
for accessing configuration settings.run_task.py
,run_workflow.py
, andanalytics.py
to usesettings
for configuration access.config.py
to include new settingsENABLE_GEMINI
andGEMINI_API_KEY
.__main__.py
,api_app.py
, andaws.py
to usesettings
for configuration.files.py
,llm/api_handler_factory.py
, andllm/config_registry.py
to usesettings
.local.py
,security.py
, andforge_log.py
to usesettings
.agent_protocol.py
,org_auth_service.py
, andblock.py
to usesettings
.service.py
,handler.py
, andmodels.py
to usesettings
.browser_factory.py
,scraper.py
, anddom.py
to usesettings
.page.py
andtemporal_activities.py
to usesettings
.This description was created by for 5139d34. It will automatically update as commits are pushed.