Skip to content

Commit

Permalink
TLK-1771 - Improve agent creation flow
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneLightsOn committed Oct 16, 2024
1 parent 7ee3f10 commit dbd603c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/tests/unit/routers/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from backend.config.tools import ToolName
from backend.crud import agent as agent_crud
from backend.crud import deployment as deployment_crud
from backend.crud import model as model_crud
from backend.database_models.agent import Agent
from backend.database_models.agent_tool_metadata import AgentToolMetadata
from backend.database_models.snapshot import Snapshot
Expand Down Expand Up @@ -118,6 +117,9 @@ def test_create_agent_deployment_not_in_db(
deployment_models = cohere_deployment.models
deployment_models_list = [model.name for model in deployment_models]
assert cohere_deployment
assert cohere_deployment.name == ModelDeploymentName.CoherePlatform
assert cohere_deployment.deployment_class_name == "CoherePlatform"
assert cohere_deployment.id == 1
assert deployment_models_list == ["command-r-plus"]
assert response.status_code == 200

Expand Down

0 comments on commit dbd603c

Please sign in to comment.