code: def run_client_nochat_gen(
      prompt,
      prompt_type,
      stream_output,
      max_new_tokens,
      langchain_mode,
      langchain_action,
      langchain_agents,
      version=None,
      h2ogpt_key=None,
  ):
      client = get_client(serialize=False)
  
      kwargs, args = get_args(
          prompt,
          prompt_type,
          chat=False,
          stream_output=stream_output,
          max_new_tokens=max_new_tokens,
          langchain_mode=langchain_mode,
          langchain_action=langchain_action,
          langchain_agents=langchain_agents,
          version=version,
          h2ogpt_key=h2ogpt_key,
      )
      return run_client_gen(client, kwargs)
  
imports: import ast
  import time
  import os
  import markdown
  import pytest
  from bs4 import BeautifulSoup
  from src.utils import is_gradio_version4
  from tests.utils import get_inf_server
label_desc: Use image node_id 17 for calling a global function with example usage: run_client_nochat_gen(prompt, prompt_type, stream_output, max_new_tokens, langchain_mode, langchain_action, langchain_agents, version, h2ogpt_key) and returns: run_client_gen