Skip to content

Commit

Permalink
Add Gemini experimental model 1206 and update alias (#252)
Browse files Browse the repository at this point in the history
* Add gemini-exp-1206 model and update experimental model alias

* Bump version to 0.67.0 and update changelog for Gemini 1206

* Move Gemini 1206 entry to version 0.67.0 section

---------

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
  • Loading branch information
devin-ai-integration[bot] authored Dec 7, 2024
1 parent a716149 commit 1208290
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [0.67.0]

### Added
- Added a new Gemini Experimental model from December 2024 (`gemini-exp-1206`) and updated the `gemexp` alias to point to it.

## [0.66.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PromptingTools"
uuid = "670122d1-24a8-4d70-bfce-740807c42192"
authors = ["J S @svilupp and contributors"]
version = "0.66.0"
version = "0.67.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
9 changes: 7 additions & 2 deletions src/user_preferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ aliases = merge(
"gem15p" => "gemini-1.5-pro-latest",
"gem15f8" => "gemini-1.5-flash-8b-latest",
"gem15f" => "gemini-1.5-flash-latest",
"gemexp" => "gemini-exp-1121" # latest experimental model from November 2024
"gemexp" => "gemini-exp-1206" # latest experimental model from December 2024
),
## Load aliases from preferences as well
@load_preference("MODEL_ALIASES", default=Dict{String, String}()))
Expand Down Expand Up @@ -1150,7 +1150,12 @@ registry = Dict{String, ModelSpec}(
GoogleOpenAISchema(),
1.25e-6,
5e-6,
"Gemini Experimental Model from November 2024. Pricing assumed as per Gemini 1.5 Pro. See details [here](https://ai.google.dev/gemini-api/docs/models/experimental-models#use-an-experimental-model).")
"Gemini Experimental Model from November 2024. Pricing assumed as per Gemini 1.5 Pro. See details [here](https://ai.google.dev/gemini-api/docs/models/experimental-models#use-an-experimental-model)."),
"gemini-exp-1206" => ModelSpec("gemini-exp-1206",
GoogleOpenAISchema(),
1.25e-6,
5e-6,
"Gemini Experimental Model from December 2024. Pricing assumed as per Gemini 1.5 Pro. See details [here](https://ai.google.dev/gemini-api/docs/models/experimental-models#use-an-experimental-model).")
)

"""
Expand Down

2 comments on commit 1208290

@svilupp
Copy link
Owner

@svilupp svilupp commented on 1208290 Dec 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Added

  • Added a new Gemini Experimental model from December 2024 (gemini-exp-1206) and updated the gemexp alias to point to it.

Commits

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/120897

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.67.0 -m "<description of version>" 12082903c07f6b705fb205c7d1753cbf87a991e3
git push origin v0.67.0

Please sign in to comment.