
const { v4: uuidv4 } = require('uuid');

module.exports = {
  up: async (queryInterface, Sequelize) => {
    return queryInterface.bulkInsert('ai_models', [
      {
        id: uuidv4(),
        name: 'Groq Llama 3 70B',
        provider: 'groq',
        model_name: 'llama3-70b-8192',
        is_enabled: true,
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        id: uuidv4(),
        name: 'Gemini 2.5 Flash Latest',
        provider: 'gemini',
        model_name: 'gemini-1.5-flash-latest',
        is_enabled: true,
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        id: uuidv4(),
        name: 'DeepSeek Chat',
        provider: 'deepseek',
        model_name: 'deepseek-chat',
        is_enabled: true,
        createdAt: new Date(),
        updatedAt: new Date(),
      }
    ]);
  },

  down: async (queryInterface, Sequelize) => {
    return queryInterface.bulkDelete('ai_models', null, {});
  }
};
