mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2026-02-04 05:46:24 -06:00
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:
committed by
Copybara-Service
parent
e99f87de73
commit
433c423d35
@@ -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(),
|
||||
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
""",
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user