Jump to content

Recommended Posts

Posted (edited)
28 minutes ago, nikokenzo said:

Bisa bro tinggal ganti aja Nodejs ke versi V20.

clean install. Hapus nodejs sebelumnya, DB dan filenya. 
statusnya masih disconnect tapi bisa scan dll

Lama tidaknya tergantung penggunaan.

karena hitungannya per request, makin kompleks akan memakan banyak credit

Jadi penasaran pengen top up 😁

Screenshot_213.jpg

================
Akhirnya bisa juga mas bro.
Thanks

Screenshot_214.jpg

Edited by badas

Gemini & ChatGPT
For (Magd Version 7.0.0.1)


You can replace the attached file so you can use gemini and chatgpt:
 

server/controllers/

Add the following code below CHATGPT_MODEL in the .env file:
 

GEIMINI_URL=https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent

image.png.536a10206a5339829cbbc00a59f73ecf.png

 

===========================================

If you put chatgpt key in the control panel, chatgpt will work and if you put gemini key, gemini will automatically work

incomingMessage.js

  • Like 1
  • Thanks 2
5 minutes ago, Gusik Prasetyo said:

In my opinion, i think its better if wanna acces chatgpt using keyword, for example: gemini

So if wanna use chatgpt we have to texted: gemini how to make fried rice?

Then it will automatically answered by gemini ai.

So it will make all message not answered by chatgpt openai/gemini if chat bot/autoreply or webhook empty

@Magd Almuntaser

I already thought of this when I watched the video on the previous page, but I don't think people will know how to use it when you mention the name AI. That's why it's best to use the right AI for you.
I will put the feature in the next version and it can also be used without calling the AI name. This modification here is only temporary for those who want to use Gemini
 

3 minutes ago, Enno The Explorer said:

Tuan @Magd Almuntaser, bisakah tuan membuat fitur Media Message dengan link chat dan Media Message dengan Link Pilihan Pesan seperti contoh dibawah ini

image.thumb.jpeg.f9d27992fe9cfef7899aa407352983bd.jpegimage.thumb.jpeg.d9ba2d70e82e799442289c16f82e4d9e.jpeg

Belum pernah mencobanya, tapi saya akan mencoba.

3 hours ago, Magd Almuntaser said:


you can see my post on page number 43 about:
How To Run (Whatsapp Gateway Multi Device) Via SSL

i allready followed your instruction on page 43 but it same, still waiting.. when i remove SSL it work, where my mistake?

i use lets encrypt as SSL and native vps without panel (debian 11, mariadb 10.6), and SSL forced 301, i think this problem is in code server.js and /routes/web.php

please help me sir..

 

3 hours ago, Magd Almuntaser said:


you can see my post on page number 43 about:
How To Run (Whatsapp Gateway Multi Device) Via SSL

i allready followed your instruction on page 43 but it same, still waiting.. when i remove SSL it work, where my mistake?

i use lets encrypt as SSL and native vps without panel (debian 11, mariadb 10.6), and SSL forced 301, i think this problem is in code server.js and /routes/web.php

please help me sir..

 

Posted (edited)
42 minutes ago, Magd Almuntaser said:

Gemini & ChatGPT
For (Magd Version 7.0.0.1)


You can replace the attached file so you can use gemini and chatgpt:
 

server/controllers/

Add the following code below CHATGPT_MODEL in the .env file:
 

GEIMINI_URL=https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent

image.png.536a10206a5339829cbbc00a59f73ecf.png

 

===========================================

If you put chatgpt key in the control panel, chatgpt will work and if you put gemini key, gemini will automatically work

incomingMessage.js 8.23 kB · 4 downloads

You are always amazing sir.

 

sir btw are you miss spelling or is this correct?

GEIMINI_URL

Gemini or Geimini?

Edited by nikokenzo
55 minutes ago, angga turki said:

i allready followed your instruction on page 43 but it same, still waiting.. when i remove SSL it work, where my mistake?

i use lets encrypt as SSL and native vps without panel (debian 11, mariadb 10.6), and SSL forced 301, i think this problem is in code server.js and /routes/web.php

please help me sir..

 

i allready followed your instruction on page 43 but it same, still waiting.. when i remove SSL it work, where my mistake?

i use lets encrypt as SSL and native vps without panel (debian 11, mariadb 10.6), and SSL forced 301, i think this problem is in code server.js and /routes/web.php

please help me sir..

 

Are you sure you put the key and cert files and modified them in the server.js file as described in my old post?
If your issue is still there, msg me. Send me the key, cert, server.js file and your web.php file

54 minutes ago, nikokenzo said:

You are always amazing sir.

 

sir btw are you miss spelling or is this correct?

GEIMINI_URL

Gemini or Geimini?

😅 Write it as I wrote it. I'll correct it in the next version.

31 minutes ago, nikokenzo said:

Saya baca scriptnya benar sih GEIMINI_URL

tp no respon dari gemini

Make sure you have the correct geimini key and that it works.. or PM me with your key i will test it and you can generate another one

11 minutes ago, sonu kumar saini said:

Port 3100 menunjukkan pemutusan koneksi di Cpanel

Saya tidak mengerti masalah Anda, apakah maksud Anda 3100 tidak berfungsi? Jika tidak berfungsi, pastikan nodejs Anda berjalan dengan benar. Karena port ini tidak akan berfungsi kecuali Anda telah menjalankan nodejs

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...