code: def test_invalid_model_id_parameter(self):
      # create project
  
      self.run_sql("create database proj")
      self.run_sql(
          f"""
                create model proj.test_rag_openai_nonexistant_model
                predict answer
                using
                  engine='rag',
                  llm_type='openai',
                  model_id='this-model-does-not-exist',
                  openai_api_key='{OPENAI_API_KEY}';
             """
      )
      with pytest.raises(Exception):
          self.wait_predictor(
              "proj", "test_rag_openai_nonexistant_model"
          )
  
      self.run_sql(
          f"""
                    create model proj.test_rag_writer_nonexistant_model
                    predict answer
                    using
                      engine='rag',
                      llm_type='writer',
                      model_id='this-model-does-not-exist',
                      writer_api_key='{WRITER_API_KEY}',
                      writer_org_id='{WRITER_ORG_ID}';
                 """
      )
  
      with pytest.raises(Exception):
          self.wait_predictor(
              "proj", "test_rag_writer_nonexistant_model"
          )
  
file_path: mindsdb/tests/unit/ml_handlers/test_rag.py
imports: import os
  import time
  import pandas
  import pytest
  from mindsdb_sql import parse_sql
  from tests.unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 4 for calling the TestRAG obj's underlying member method code with example usage: obj.test_invalid_model_id_parameter() without return types