mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
fix: Adapt to new computer use tool name in genai sdk 1.41.0
1.40.0 has some bug that caused some UT tests failures PiperOrigin-RevId: 815098429
This commit is contained in:
committed by
Copybara-Service
parent
d1efc8461e
commit
c6dd444fc9
@@ -128,7 +128,7 @@ def llm_request_with_computer_use():
|
||||
system_instruction="You are a helpful assistant",
|
||||
tools=[
|
||||
types.Tool(
|
||||
computer_use=types.ToolComputerUse(
|
||||
computer_use=types.ComputerUse(
|
||||
environment=types.Environment.ENVIRONMENT_BROWSER
|
||||
)
|
||||
)
|
||||
@@ -1488,7 +1488,7 @@ async def test_computer_use_removes_system_instruction():
|
||||
system_instruction="You are a helpful assistant",
|
||||
tools=[
|
||||
types.Tool(
|
||||
computer_use=types.ToolComputerUse(
|
||||
computer_use=types.ComputerUse(
|
||||
environment=types.Environment.ENVIRONMENT_BROWSER
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user