Skip to content

Commit a814f77

Browse files
authored
chore: release v0.31.4 (#712)
* chore: bump version to 0.31.4
1 parent 2989f8d commit a814f77

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

agent_starter_pack/deployment_targets/cloud_run/python/tests/integration/test_server_e2e.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -690,9 +690,8 @@ def cleanup_agent_engine_sessions() -> None:
690690

691691
try:
692692
# Use same environment variable as server, default to project name
693-
agent_name = os.environ.get(
694-
"AGENT_ENGINE_SESSION_NAME", "{{cookiecutter.project_name}}"
695-
)
693+
default_agent_name = "{{cookiecutter.project_name}}"
694+
agent_name = os.environ.get("AGENT_ENGINE_SESSION_NAME", default_agent_name)
696695

697696
# Find and delete agent engines with this name
698697
existing_agents = list(agent_engines.list(filter=f"display_name={agent_name}"))

agent_starter_pack/deployment_targets/cloud_run/python/{{cookiecutter.agent_directory}}/fast_api_app.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,8 @@ async def lifespan(app_instance: FastAPI) -> AsyncIterator[None]:
437437
session_service_uri = None
438438
else:
439439
# Use environment variable for agent name, default to project name
440-
agent_name = os.environ.get(
441-
"AGENT_ENGINE_SESSION_NAME", "{{cookiecutter.project_name}}"
442-
)
440+
default_agent_name = "{{cookiecutter.project_name}}"
441+
agent_name = os.environ.get("AGENT_ENGINE_SESSION_NAME", default_agent_name)
443442

444443
# Check if an agent with this name already exists
445444
existing_agents = list(agent_engines.list(filter=f"display_name={agent_name}"))

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "agent-starter-pack"
3-
version = "0.31.3"
3+
version = "0.31.4"
44
description = "CLI to bootstrap production-ready Google Cloud GenAI agent projects from templates."
55
authors = [
66
{ name = "Google LLC", email = "agent-starter-pack@google.com" },

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)