Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/test_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,6 @@ on:
workflow_dispatch:

jobs:
test3_12:
name: Test Py3.12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Run tests
run: |
python --version
pip install -q -e .[dev]
python -m unittest discover --pattern '*test*.py'
test3_11:
name: Test Py3.11
runs-on: ubuntu-latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## v0.2.2

- Handle maximum batch size for `embed_text`.
- Restore `types.ModelNameOptions`.
- Update tuning to handle more dataset types (json, pandas, urls, google-sheets).
- Expose `count_text_tokens`
- Expose operations management.
- Allow users to pass custom `metadata` (HTML headers).
- Add dataclass prettyprinting.

## v0.2.1

- Bugfix: Add missing enum names to `saftey_types.py`
Expand All @@ -17,4 +27,4 @@

## v0.1

Initial version
Initial version
2 changes: 1 addition & 1 deletion google/generativeai/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# limitations under the License.
from __future__ import annotations

__version__ = "0.2.1"
__version__ = "0.2.2"
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def get_version():
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", # Colab
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
Expand Down