Skip to content

Commit be0eb9a

Browse files
jsondaicopybara-github
authored andcommitted
fix: GenAI Client(evals) - Save Gemini agent run_inference results to dest
PiperOrigin-RevId: 994736711
1 parent 0d4713a commit be0eb9a

28 files changed

Lines changed: 80 additions & 42 deletions

File tree

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.4.0"
2+
".": "2.3.0"
33
}

‎CHANGELOG.md‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
# Changelog
22

3-
## [2.4.0](https://github.com/googleapis/python-aiplatform/compare/v2.3.0...v2.4.0) (2026-10-06)
4-
5-
6-
### Features
7-
8-
* Add per-step judges and cross-region routing to evals ([5fa1455](https://github.com/googleapis/python-aiplatform/commit/5fa14552cd06179e8ea08f0ea0d29ea6cafb1ca0))
9-
* GenAI Client(evals) - add EvaluationDataset.load_from_adk_eval_set ([4c045e1](https://github.com/googleapis/python-aiplatform/commit/4c045e16c2459d0708bca77c2a82a3c1daff0409))
10-
* Surface the LRO name in Agent Engine create and update requests ([b1378bb](https://github.com/googleapis/python-aiplatform/commit/b1378bb54566396506dfe17041f4e8d3fb715573))
11-
* Update discovery doc ([39693a9](https://github.com/googleapis/python-aiplatform/commit/39693a9d956449f810c18d340eb57526faa9cb00))
12-
13-
14-
### Bug Fixes
15-
16-
* Replay session_events into a scratch session and delete it afterwards ([3647753](https://github.com/googleapis/python-aiplatform/commit/364775307aa9c0b4d30844da4c7f23c05221dfcd))
17-
183
## [2.3.0](https://github.com/googleapis/python-aiplatform/compare/v2.2.0...v2.3.0) (2026-09-25)
194

205

‎agentplatform/_genai/_evals_common.py‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2654,7 +2654,7 @@ def _execute_inference(
26542654
"Gemini Agent inference completed in %.2f seconds.",
26552655
end_time - start_time,
26562656
)
2657-
return types.EvaluationDataset(
2657+
evaluation_dataset = types.EvaluationDataset(
26582658
eval_dataset_df=results_df,
26592659
candidate_name=gemini_agent.split("/")[-1],
26602660
)
@@ -2759,7 +2759,12 @@ def _execute_inference(
27592759
results_df.to_json(full_dest_path, orient="records", lines=True)
27602760
logger.info("Results saved locally to: %s", full_dest_path)
27612761
except Exception as e: # pylint: disable=broad-exception-caught
2762-
logger.error("Failed to save results to %s. Error: %s", full_dest_path, e)
2762+
logger.error(
2763+
"Failed to save results to %s. Error: %s",
2764+
full_dest_path,
2765+
e,
2766+
exc_info=True,
2767+
)
27632768

27642769
return evaluation_dataset
27652770

‎agentplatform/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
#
1515
"""Version file for agentplatform."""
1616

17-
__version__ = "2.4.0"
17+
__version__ = "2.3.0"

‎google/cloud/aiplatform/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.4.0" # {x-release-please-version}
16+
__version__ = "2.3.0" # {x-release-please-version}

‎google/cloud/aiplatform/v1/schema/predict/instance/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.4.0" # {x-release-please-version}
16+
__version__ = "2.3.0" # {x-release-please-version}

‎google/cloud/aiplatform/v1/schema/predict/instance_v1/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.4.0" # {x-release-please-version}
16+
__version__ = "2.3.0" # {x-release-please-version}

‎google/cloud/aiplatform/v1/schema/predict/params/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.4.0" # {x-release-please-version}
16+
__version__ = "2.3.0" # {x-release-please-version}

‎google/cloud/aiplatform/v1/schema/predict/params_v1/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.4.0" # {x-release-please-version}
16+
__version__ = "2.3.0" # {x-release-please-version}

‎google/cloud/aiplatform/v1/schema/predict/prediction/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.4.0" # {x-release-please-version}
16+
__version__ = "2.3.0" # {x-release-please-version}

0 commit comments

Comments
 (0)