Skip to content

Conversation

@tgillam-do
Copy link
Collaborator

@tgillam-do tgillam-do commented Jan 9, 2026

Adds the ability to add an optional description to your agent deployment. Also sends the currently installed ADK version to the deploy API.

Added integration tests and validated manually by running configure and deploy.

try:
captured = intr.get_captured_requests_since(token)
if captured:
# Use the first captured request (most common case)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Small bug fix for the KBaaS API where naively looking at the first network call produced a nil response.

@tgillam-do tgillam-do requested a review from Copilot January 9, 2026 14:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for optional agent deployment descriptions and includes the ADK library version in deployment API calls. The changes enable users to provide a human-readable description (up to 1000 characters) when configuring agents, which is then passed through the deployment workflow.

Changes:

  • Added description parameter to agent configuration and deployment workflows
  • Added library_version field to track ADK version in deployment API models
  • Enhanced error handling for "feature not enabled" deployment errors
  • Fixed double-capture handling in LangGraph instrumentor for httpx request/response interception

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
gradient_adk/digital_ocean_api/models.py Added library_version and description fields to deployment-related API models
gradient_adk/cli/config/agent_config_manager.py Added get_description() method and description parameter to base interface
gradient_adk/cli/config/yaml_agent_config_manager.py Implemented description handling with validation and storage
gradient_adk/cli/cli.py Added --description option to configure command and default description for init command
gradient_adk/cli/agent/deployment/deploy_service.py Integrated library version and description into deployment API calls
gradient_adk/runtime/langgraph/langgraph_instrumentor.py Fixed httpx double-capture issue by searching for response payloads in reverse order
integration_tests/configure/test_adk_agents_configure.py Added comprehensive tests for description validation and help text verification
tests/runtime/langgraph/langgraph_instrumentor_test.py Added unit tests for double-capture scenarios

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tgillam-do tgillam-do merged commit 802a2ad into main Jan 9, 2026
5 checks passed
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.

3 participants