code: def test_agent_no_introspection(test_settings, live_mock_server):
      live_mock_server.set_ctx(
          {"gorilla_supports_launch_agents": False}
      )
      api = wandb.sdk.internal.internal_api.Api(
          default_settings=test_settings, load_settings=False
      )
      api.entity_is_team = MagicMock(return_value=False)
      config = {
          "entity": "mock_server_entity",
          "project": "test_project",
          "queues": ["default"],
      }
      agent = LaunchAgent(api, config)
      ctx = live_mock_server.get_ctx()
      assert ctx["launch_agents"] == {}
      assert len(ctx["launch_agents"].keys()) == 0
      assert agent._id is None
      assert agent._name == ""
  
      update_response = api.update_launch_agent_status(
          agent._id, "POLLING", agent.gorilla_supports_agents
      )
      assert update_response["success"]
  
      get_agent_response = api.get_launch_agent(
          agent._id, agent.gorilla_supports_agents
      )
      assert get_agent_response["name"] == ""
      assert get_agent_response["stopPolling"] is False
  
imports: import json
  import multiprocessing.pool
  import os
  import sys
  from unittest import mock
  from unittest.mock import MagicMock
  import pytest
  import wandb
  import wandb.sdk.launch._launch
  import wandb.sdk.launch._project_spec
  import yaml
  from wandb.apis import PublicApi
  from wandb.sdk.launch.agent.agent import LaunchAgent
  from wandb.sdk.launch.builder.build import _inject_wandb_config_env_vars
  from wandb.sdk.launch.builder.docker_builder import DockerBuilder
  from wandb.sdk.launch.errors import LaunchError
  from wandb.sdk.launch.utils import LAUNCH_DEFAULT_PROJECT, PROJECT_SYNCHRONOUS, pull_docker_image
  from wandb.sdk.lib import runid
  from tests.pytest_tests.unit_tests_old.utils import fixture_open, notebook_path
label_desc: Use image node_id 24 for calling a global function with example usage: test_agent_no_introspection(test_settings, live_mock_server) without return types