chore: include contributing/ folder in autoformat.sh

Also formatted the files in that folder in this same commit.

PiperOrigin-RevId: 766885306
This commit is contained in:
Liang Wu
2025-06-03 17:20:16 -07:00
committed by Copybara-Service
parent e99f87de73
commit 433c423d35
13 changed files with 34 additions and 26 deletions
+2 -2
View File
@@ -13,12 +13,13 @@
# limitations under the License.
from google.adk.agents import Agent
from .tools import jira_tool
root_agent = Agent(
model='gemini-2.0-flash-001',
name='jira_connector_agent',
description="This agent helps search issues in JIRA",
description='This agent helps search issues in JIRA',
instruction="""
To start with, greet the user
First, you will be given a description of what you can do.
@@ -49,5 +50,4 @@ root_agent = Agent(
- I currently support only **GET** and **LIST** operations.
""",
tools=jira_tool.get_tools(),
)
+1 -2
View File
@@ -17,7 +17,7 @@ from google.adk.tools.application_integration_tool.application_integration_tools
jira_tool = ApplicationIntegrationToolset(
project="your-gcp-project-id", # replace with your GCP project ID
location="your-regions", # replace your regions
connection="your-integration-connection-name", #replace with your connection name
connection="your-integration-connection-name", # replace with your connection name
entity_operations={
"Issues": ["GET", "LIST"],
},
@@ -30,5 +30,4 @@ jira_tool = ApplicationIntegrationToolset(
This tool is to call an integration to search for issues in JIRA
""",
)