Skip to content

Add support for Agent Engine Sessions#249

Open
AmaadMartin wants to merge 12 commits intogoogle:mainfrom
AmaadMartin:feat/vertex-ai-session-service
Open

Add support for Agent Engine Sessions#249
AmaadMartin wants to merge 12 commits intogoogle:mainfrom
AmaadMartin:feat/vertex-ai-session-service

Conversation

@AmaadMartin
Copy link
Copy Markdown
Collaborator

PR Description: Add support for Agent Engine Sessions

This PR implements the VertexAiSessionService to integrate with Vertex AI Agent Engine Sessions, addressing the requirements in Buganizer task 494654280.

Changes

  • Core: Implemented VertexAiSessionService in core/src/sessions/vertex_ai_session_service.ts and registered it in registry.ts and index.ts.
  • Tests:
    • Added unit tests in core/test/sessions/vertex_ai_session_service_test.ts.
    • Added integration test in tests/integration/tools/agent_tool_test.ts.
    • Added E2E test in tests/e2e/context_compaction/e2e_compaction_test.ts.
  • Configuration: Updated vitest.config.ts and package.json as needed.

Verification

  • Unit tests for VertexAiSessionService passed successfully.
  • Integration test for AgentTool passed successfully.
  • End-to-End test for context compaction passed successfully against a live Reasoning Engine in project adk-kokoro.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can you please create new test instead of modifying existing one, thanks

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants