Skip to content

Commit 4f244f2

Browse files
committed
chore: Bump version to 0.12.7, add changelog entry
Changelog documents the Vertex AI model routing fix and v1beta1 support for preview/experimental models.
1 parent 584f569 commit 4f244f2

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.12.7] - 2026-03-10
6+
7+
### Fixed
8+
9+
- **Vertex AI model routing**: Fixed `build_request_params/3` not including the `"model"` key in the params map, causing `chat/2` and `chat_stream/2` to always fall back to `"gemini-2.0-flash"` regardless of the requested model.
10+
- **Vertex AI 404 on preview models**: Use `v1beta1` API version for preview and experimental models (e.g., `gemini-3.1-pro-preview`). The `v1` endpoint returns 404 for these models.
11+
12+
### Added
13+
14+
- `Nous.Providers.VertexAI.api_version_for_model/1` — returns `"v1beta1"` for preview/experimental models, `"v1"` for stable models.
15+
- `Nous.Providers.VertexAI.endpoint/3` now accepts an optional model name to select the correct API version.
16+
- Debug logging for Vertex AI request URLs.
17+
518
## [0.13.2] - 2026-03-07
619

720
### Added

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Nous.MixProject do
22
use Mix.Project
33

4-
@version "0.13.2"
4+
@version "0.12.7"
55
@source_url "https://github.com/nyo16/nous"
66

77
def project do

0 commit comments

Comments
 (0)