import { AiModel, GetAvailableAIModelResponse, PossibleAiModels } from '@/types/ai-models';

export const config = {
  runtime: 'edge',
};

export async function getAvailableAnthropicModels(key: string): Promise<GetAvailableAIModelResponse> {
  if (!key) {
    return { data: [] };
  }

  const models: AiModel[] = [
    PossibleAiModels['claude-instant-1'],
    PossibleAiModels['claude-2'],
  ];

  return { data: models };
}
