code: def test_post_agent_no_model_name(client):
      create_request = {
          "agent": {
              "name": "test_post_agent_no_model_name",
              "params": {"k1": "v1"},
              "skills": ["test_skill"],
          }
      }
      create_response = client.post(
          "/api/projects/mindsdb/agents",
          json=create_request,
          follow_redirects=True,
      )
      assert "400" in create_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 6 for calling a global function with example usage: test_post_agent_no_model_name(client) without return types