get_api_key: Utility functions for API key management

View source: R/api_utils.R

get_api_keyR Documentation

Utility functions for API key management

Description

This file contains utility functions for managing API keys and related operations. Get API key for a specific model

Usage

get_api_key(model, api_keys)

Arguments

model

Model name to get API key for

api_keys

Named list of API keys with provider or model names as keys

Details

This function retrieves the appropriate API key for a given model by first checking the provider name and then the model name in the provided API keys list.

Value

API key string for the specified model


mLLMCelltype documentation built on May 11, 2026, 9:06 a.m.