-
Notifications
You must be signed in to change notification settings - Fork 492
Comparing changes
Open a pull request
base repository: google-gemini/deprecated-generative-ai-python
base: v0.3.1
head repository: google-gemini/deprecated-generative-ai-python
compare: v0.3.2
- 15 commits
- 17 files changed
- 9 contributors
Commits on Dec 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c6688b7 - Browse repository at this point
Copy the full SHA c6688b7View commit details
Commits on Dec 15, 2023
-
fix TypeError in count_tokens & count_tokens_async (#123)
async def count_tokens( self, request: Optional[Union[generative_service.CountTokensRequest, dict]] = None, *, model: Optional[str] = None, contents: Optional[MutableSequence[content.Content]] = None, retry: OptionalRetry = gapic_v1.method.DEFAULT, timeout: Union[float, object] = gapic_v1.method.DEFAULT, metadata: Sequence[Tuple[str, str]] = (), if you don't use keyword args : model=model, contents=contents, but position args, this will lead to : TypeError: count_tokens() takes from 1 to 2 positional arguments but 3 were givenConfiguration menu - View commit details
-
Copy full SHA for 2bdec6a - Browse repository at this point
Copy the full SHA 2bdec6aView commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b72d107 - Browse repository at this point
Copy the full SHA b72d107View commit details -
Configuration menu - View commit details
-
Copy full SHA for b97aa55 - Browse repository at this point
Copy the full SHA b97aa55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 718d716 - Browse repository at this point
Copy the full SHA 718d716View commit details -
Configuration menu - View commit details
-
Copy full SHA for f437f24 - Browse repository at this point
Copy the full SHA f437f24View commit details -
fix: update links to https://github.com/google/generative-ai-docs in …
…the readme (#129) * Update links to https://github.com/google/generative-ai-docs * Update links to https://github.com/google/generative-ai-docs
Configuration menu - View commit details
-
Copy full SHA for b12aef7 - Browse repository at this point
Copy the full SHA b12aef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 106daab - Browse repository at this point
Copy the full SHA 106daabView commit details
Commits on Dec 19, 2023
-
aiter, anext not exist error (#127)
* aiter, anext not exist error * Un-skip test, format with black. * Fix aiter & anext implementations. --------- Co-authored-by: Mark Daoust <markdaoust@google.com>
Configuration menu - View commit details
-
Copy full SHA for 8f05227 - Browse repository at this point
Copy the full SHA 8f05227View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15bc434 - Browse repository at this point
Copy the full SHA 15bc434View commit details -
Fix: List Index out out range with empty parts [] (#138)
* Fix: Index out out range with empty parts [] while question was blocked by api, the parts is an empty list [], so the exp: if len(parts) > 1 or "text" not in parts[0]: will raise list index out of range, but not ValueError * simplify parts length check. * Update error message. --------- Co-authored-by: Mark Daoust <markdaoust@google.com>
Configuration menu - View commit details
-
Copy full SHA for 0a9596f - Browse repository at this point
Copy the full SHA 0a9596fView commit details -
fix: handle empty string in ChatSession.send_message (#134)
* fix: handle empty string in ChatSession.send_message * refactor: move empty string handling to content_types.to_content * ValueError --------- Co-authored-by: Mark Daoust <markdaoust@google.com>
Configuration menu - View commit details
-
Copy full SHA for b23546f - Browse repository at this point
Copy the full SHA b23546fView commit details -
Update tutorial comments in class GenerativeModel (#116)
* Update comments in class GenerativeModel * typo --------- Co-authored-by: Mark Daoust <markdaoust@google.com>
Configuration menu - View commit details
-
Copy full SHA for a1e4e16 - Browse repository at this point
Copy the full SHA a1e4e16View commit details
Commits on Dec 20, 2023
-
Import typeddict from typing_extentions (#104)
* import typeddict from typing_extentions * Add typing-extensions * Move shim logic to one file. * typo * simpilfy * order --------- Co-authored-by: Mark Daoust <markdaoust@google.com>
Configuration menu - View commit details
-
Copy full SHA for 04dbd5f - Browse repository at this point
Copy the full SHA 04dbd5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9264c68 - Browse repository at this point
Copy the full SHA 9264c68View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.1...v0.3.2