code: def test_put_agent_no_agent(client):
      create_request = {
          "name": "test_put_agent_no_agent",
          "model_name": "test_model",
          "params": {"k1": "v1", "k2": "v2"},
          "skills": ["test_skill"],
      }
  
      response = client.put(
          "/api/projects/mindsdb/agents/test_put_agent_no_agent",
          json=create_request,
          follow_redirects=True,
      )
      assert "400" in response.status
  
imports: import os
  import pytest
  from tempfile import TemporaryDirectory
  from mindsdb.api.http.initialize import initialize_app
  from mindsdb.migrations import migrate
  from mindsdb.interfaces.storage import db
  from mindsdb.utilities.config import Config
label_desc: Use image node_id 16 for calling a global function with example usage: test_put_agent_no_agent(client) without return types