webchanges 3.24.0__tar.gz → 3.24.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {webchanges-3.24.0/webchanges.egg-info → webchanges-3.24.1}/PKG-INFO +1 -1
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/__init__.py +1 -1
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/differs.py +2 -2
- {webchanges-3.24.0 → webchanges-3.24.1/webchanges.egg-info}/PKG-INFO +1 -1
- {webchanges-3.24.0 → webchanges-3.24.1}/LICENSE +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/MANIFEST.in +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/README.rst +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/pyproject.toml +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/requirements.txt +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/setup.cfg +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/_vendored/__init__.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/_vendored/case_insensitive_dict.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/_vendored/packaging_version.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/cli.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/command.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/config.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/filters.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/handler.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/jobs.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/mailer.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/main.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/py.typed +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/reporters.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/storage.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/storage_minidb.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/util.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges/worker.py +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges.egg-info/SOURCES.txt +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges.egg-info/dependency_links.txt +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges.egg-info/entry_points.txt +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges.egg-info/requires.txt +0 -0
- {webchanges-3.24.0 → webchanges-3.24.1}/webchanges.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: webchanges
|
|
3
|
-
Version: 3.24.
|
|
3
|
+
Version: 3.24.1
|
|
4
4
|
Summary: Check web (or command output) for changes since last run and notify. Anonymously alerts you of web changes, with
|
|
5
5
|
Author-email: Mike Borsetti <mike+webchanges@borsetti.com>
|
|
6
6
|
Maintainer-email: Mike Borsetti <mike+webchanges@borsetti.com>
|
|
@@ -22,7 +22,7 @@ __project_name__ = __package__
|
|
|
22
22
|
# * MINOR version when you add functionality in a backwards compatible manner, and
|
|
23
23
|
# * MICRO or PATCH version when you make backwards compatible bug fixes. We no longer use '0'
|
|
24
24
|
# If unsure on increments, use pkg_resources.parse_version to parse
|
|
25
|
-
__version__ = '3.24.
|
|
25
|
+
__version__ = '3.24.1'
|
|
26
26
|
__description__ = (
|
|
27
27
|
'Check web (or command output) for changes since last run and notify.\n'
|
|
28
28
|
'\n'
|
|
@@ -1081,13 +1081,12 @@ class AIGoogleDiffer(DifferBase):
|
|
|
1081
1081
|
f'{len(GOOGLE_AI_API_KEY)}.\n'
|
|
1082
1082
|
)
|
|
1083
1083
|
|
|
1084
|
-
api_version = '1beta'
|
|
1085
1084
|
_models_token_limits = { # from https://ai.google.dev/gemini-api/docs/models/gemini
|
|
1085
|
+
'gemini-1.5-pro-2m': 2097152,
|
|
1086
1086
|
'gemini-1.5': 1048576,
|
|
1087
1087
|
'gemini-1.0': 30720,
|
|
1088
1088
|
'gemini-pro': 30720, # legacy
|
|
1089
1089
|
}
|
|
1090
|
-
|
|
1091
1090
|
if 'model' not in directives:
|
|
1092
1091
|
directives['model'] = 'gemini-1.5-flash-latest' # also for footer
|
|
1093
1092
|
model = directives['model']
|
|
@@ -1126,6 +1125,7 @@ class AIGoogleDiffer(DifferBase):
|
|
|
1126
1125
|
|
|
1127
1126
|
def _send_to_model(model_prompt: str, system_instructions: str) -> str:
|
|
1128
1127
|
"""Creates the summary request to the model"""
|
|
1128
|
+
api_version = '1beta'
|
|
1129
1129
|
max_output_tokens = directives.get('max_output_tokens')
|
|
1130
1130
|
temperature = directives.get('temperature', 0.0)
|
|
1131
1131
|
top_p = directives.get('top_p')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: webchanges
|
|
3
|
-
Version: 3.24.
|
|
3
|
+
Version: 3.24.1
|
|
4
4
|
Summary: Check web (or command output) for changes since last run and notify. Anonymously alerts you of web changes, with
|
|
5
5
|
Author-email: Mike Borsetti <mike+webchanges@borsetti.com>
|
|
6
6
|
Maintainer-email: Mike Borsetti <mike+webchanges@borsetti.com>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|