Ovaday / planner-AI

Planner-AI is a study mentoring project that implements ChatGPT integration in Telegram via Bots. It includes several new functions that were not available on ChatGPT, such as messages classification and accepting audio messages from users.
https://planner-ai.vercel.app
1 stars 0 forks source link

79 web chat api backend #122

Closed NastyaKolbina closed 1 year ago

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
planner-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2023 9:04am
NastyaKolbina commented 1 year ago

done

вс, 30 апр. 2023 г. в 19:57, Evgenii @.***>:

@.**** requested changes on this pull request.

1 fix and ok

In website/views.py https://github.com/Ovaday/planner-AI/pull/122#discussion_r1181262227:

def insert_message(request, *args, **kwargs):

  • print(request)
  • user_id = int(kwargs.get('user_id'))

check for None first: http://127.0.0.1:8000/api/messages/

Should return error404 and not an exception.

— Reply to this email directly, view it on GitHub https://github.com/Ovaday/planner-AI/pull/122#pullrequestreview-1407145742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVVHISF7MYMS6UE3MJ3TQJ3XD2KV5ANCNFSM6AAAAAAXQ4EVOI . You are receiving this because you were assigned.Message ID: @.***>