You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Consider adding the --frozen flag to uv sync (i.e., uv sync --no-dev --no-cache --frozen) to ensure reproducible builds. This prevents uv from updating the lock file and ensures the Docker build uses exact dependency versions from the lock file. However, verify that uv.lock is checked into version control before implementing this change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Consider adding the --frozen flag to uv sync (i.e., uv sync --no-dev --no-cache --frozen) to ensure reproducible builds. This prevents uv from updating the lock file and ensures the Docker build uses exact dependency versions from the lock file. However, verify that uv.lock is checked into version control before implementing this change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
The code uses httpx library (in astrbot/cli/utils/plugin.py, astrbot/core/provider/sources/azure_tts_source.py, and astrbot/core/provider/sources/fishaudio_tts_api_source.py) but httpx is not declared as a dependency in pyproject.toml. While httpx may be a transitive dependency, it should be explicitly declared since the code directly imports from it. Add httpx to the dependencies list to ensure proper dependency management.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Consider adding the
--frozenflag touv sync(i.e.,uv sync --no-dev --no-cache --frozen) to ensure reproducible builds. This prevents uv from updating the lock file and ensures the Docker build uses exact dependency versions from the lock file. However, verify thatuv.lockis checked into version control before implementing this change.