replicate / llama-chat

A boilerplate for creating a Llama 3 chat app
https://llama3.replicate.dev
Apache License 2.0
765 stars 290 forks source link

prevent requests with no input #115

Closed Rohit-17ls closed 1 month ago

Rohit-17ls commented 2 months ago

Requests were being made even if there was no input in the prompt field.

Before

image

After

Added a simple check to ensure that a request is queued only if the input field is non-empty.

vercel[bot] commented 2 months ago

@Rohit-17ls is attempting to deploy a commit to the Replicate Team on Vercel.

A member of the Team first needs to authorize it.