Skip to content

Commit 5c20296

Browse files
committed
wip
1 parent 3c1ea23 commit 5c20296

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

ai21/clients/common/agents/agents.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ def create(
8989
tool_resources: Dict[str, Any] | NotGiven = NOT_GIVEN,
9090
requirements: List[AgentRequirement] | NotGiven = NOT_GIVEN,
9191
budget: BudgetLevel | NotGiven = NOT_GIVEN,
92-
agent_type: AgentType | NotGiven = NOT_GIVEN,
9392
**kwargs,
9493
) -> Agent:
9594
pass

examples/studio/agents/agent_crud.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ def main():
1616
)
1717

1818
print(f"Created agent: {agent.name} (ID: {agent.id})")
19-
print(f"Agent type: {agent.agent_type}")
2019
print(f"Budget: {agent.budget}")
2120

2221
agent_id = agent.id

tests/integration_tests/clients/studio/test_agents.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22

33
from ai21 import AsyncAI21Client
4-
from ai21.models.agents import BudgetLevel, AgentType
4+
from ai21.models.agents import BudgetLevel
55

66

77
@pytest.mark.asyncio
@@ -21,7 +21,6 @@ async def test_agents_create_and_delete():
2121
assert agent.name == "Test Agent for Integration"
2222
assert agent.description == "This is a test agent created by integration tests"
2323
assert agent.budget == BudgetLevel.LOW
24-
assert agent.agent_type == AgentType.DEFAULT
2524
assert agent.object == "agent"
2625

2726
# Clean up - delete the agent

0 commit comments

Comments
 (0)