Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions python/02-use-cases/08_restaurant_ordering/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import logging

# Deploy the agent as AgentkitAgentServerApp into the agentkit platform
Expand All @@ -21,7 +21,6 @@
from google.adk.apps import App
from google.adk.apps.app import EventsCompactionConfig
from google.adk.models.llm_request import LlmRequest
from google.adk.planners.built_in_planner import BuiltInPlanner
from google.adk.plugins.base_plugin import BasePlugin
from google.adk.plugins.context_filter_plugin import ContextFilterPlugin
from google.adk.plugins.save_files_as_artifacts_plugin import (
Expand Down Expand Up @@ -83,6 +82,7 @@ async def summarize_order(tool_context: ToolContext = None) -> str:

order_agent = Agent(
name="restaurant_ordering_agent",
model_name=os.getenv("MODEL_AGENT_NAME", "deepseek-v3-2-251201"),
description=("An agent that takes customer orders at a restaurant."),
instruction=f"""
You are a friendly and efficient order-taking assistant for a restaurant.
Expand All @@ -99,11 +99,6 @@ async def summarize_order(tool_context: ToolContext = None) -> str:
**Rules:**
- Do NOT provide recipes or cooking instructions.
""",
planner=BuiltInPlanner(
thinking_config=types.ThinkingConfig(
include_thoughts=True,
),
),
generate_content_config=types.GenerateContentConfig(
safety_settings=[
types.SafetySetting(
Expand Down
6 changes: 3 additions & 3 deletions python/02-use-cases/08_restaurant_ordering/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
veadk-python==0.2.29
agentkit-sdk-python==0.1.15
google-adk==1.18.0
veadk-python==0.5.4
agentkit-sdk-python==0.3.3
google-adk==1.21.0