module L::ClassMethods

def llm(**kwargs)

def llm(**kwargs)
  @next_llm_settings = kwargs
end

def method_added(method_name)

def method_added(method_name)
  if @next_llm_settings
    next_llm_settings = @next_llm_settings
    @next_llm_settings = nil
    Lammy::Chat.handle(self, method_name, next_llm_settings)
  end
  if @next_v_settings
    next_v_settings = @next_v_settings
    @next_v_settings = nil
    Lammy::Embeddings.handle(self, method_name, next_v_settings)
  end
  super
end

def v(**kwargs)

def v(**kwargs)
  @next_v_settings = kwargs
end