Soulter / hugging-chat-api

HuggingChat Python API🤗
GNU Affero General Public License v3.0
859 stars 123 forks source link

Multiline input via cli #264

Open methuselah-0 opened 2 weeks ago

methuselah-0 commented 2 weeks ago

Hi, When running hugchat in cli mode my input gets truncated when trying to send multiple lines. Id like a way to send multiple lines in the chat.

Possible solutions:

  1. For example, would be nice if you could pipe data to stdin while specifying a program argument for the connect-to-chat-number, and a message to be sent that can use a default variable name for the stdin data.
  2. For example an interactive cli command like /multiline EOF, then you can write multiple lines ending with an EOF for sending (where EOF can be some other string). This I would prefer.
github-actions[bot] commented 2 weeks ago

Hi! Thanks for your issue, we will deal with your issue as soon as possible.