You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: prepare_commit_msg.rs
    path of file: ./repos/gptcommit/src/actions
    
    the code of the file until where you have to start completion: use anyhow::Result;
use clap::arg;
use clap::ValueEnum;
use colored::Colorize;

use clap::Args;
use strum_macros::Display;

use std::fs;

use std::path::PathBuf;

use crate::git;

use crate::help::print_help_openai_api_key;
use crate::llms::{llm_client::LlmClient, openai::OpenAIClient};
use crate::settings::ModelProvider;

use crate::settings::Settings;
use
    
fn get_llm_client(settings: &Settings) -> Box<dyn LlmClient> {
    match settings {
        Settings {
            model_provider: Some(ModelProvider::TesterFoobar),
            ..
        } => Box::new(FooBarClient::new().unwrap()),
        Settings {
            model_provider: Some(ModelProvider::OpenAI),
            openai: Some(openai),
            ..
        } => {
            let client = OpenAIClient::new(openai.to_owned());
            if let Err(_e) = client {
                print_help_openai_api_key();
                panic!("OpenAI API key not found in config or environment");
            }
            Box::new(client.unwrap())
        }
        _ => panic!("Could not load LLM Client from config!"),
    }
}