import { providersConfig } from './ProvidersConfig.js';
import type { ConfigModelProvider } from './types.js';

export const getConfiguredModelProviders = (): ConfigModelProvider[] => {
  return providersConfig.getModelProviders();
};

export const getConfiguredModelProviderById = (
  id: string,
): ConfigModelProvider | undefined => {
  return providersConfig.getModelProviderById(id);
};

export const isEnvOnlyMode = (): boolean =>
  providersConfig.isEnvOnlyMode();
