8000 refactor: remote remote agent as there is no use case and it's not im… · mindpower/adk-python@3f11739 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f11739

Browse files
seanzhougooglecopybara-github
authored andcommitted
refactor: remote remote agent as there is no use case and it's not implemented properly
PiperOrigin-RevId: 760652423
1 parent 0497fc5 commit 3f11739

File tree

2 files changed

+1
-62
lines changed

2 files changed

+1
-62
lines changed

src/google/adk/agents/remote_agent.py

Lines changed: 0 additions & 50 deletions
This file was deleted.

tests/integration/fixture/customer_support_ma/agent.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import os
16-
import sys
1715

1816
from google.adk import Agent
19-
from google.adk.agents import RemoteAgent
2017
from google.adk.examples import Example
2118
from google.adk.sessions import Session
2219
from google.genai import types
@@ -135,21 +132,13 @@ def after_model_call(
135132
)
136133

137134

138-
idea_agent = RemoteAgent(
139-
model='gemini-1.5-pro',
140-
name='idea_agent',
141-
description='Provide travel ideas base on the destination.',
142-
url='http://localhost:8000/agent/run',
143-
)
144-
145-
146135
root_agent = Agent(
147136
model='gemini-1.5-pro',
148137
name='root_agent',
149138
instruction="""
150139
You are a helpful customer support assistant for Swiss Airlines.
151140
""",
152-
sub_agents=[flight_agent, hotel_agent, idea_agent],
141+
sub_agents=[flight_agent, hotel_agent],
153142
flow='auto',
154143
examples=[
155144
Example(

0 commit comments

Comments
 (0)
0