Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Pass positional arguments for interactive mode as first message #320

Open
santarl opened this issue Dec 14, 2024 · 1 comment

Comments

@santarl
Copy link

santarl commented Dec 14, 2024

When using tgpt in interactive mode, it would be a nice QOL improvement to pass the positional argument (if present) as the first message.

eg:

Current behaviour:

❯ tgpt -i "hi"
Interactive mode started. Press Ctrl + C or type exit to quit.

╭─ You
╰─> 

Requested behaviour:

❯ tgpt -i "hi"
Interactive mode started. Press Ctrl + C or type exit to quit.

╭─ You
╰─> hi   // Automatically send this message.

╭─ Bot
Hello! How can I assist you today?

The first message can either be displayed to show chat history in full or hidden as its already visible in the above command

@santarl santarl changed the title Pass positional argument for interactive mode as first message Feature Request: Pass positional arguments for interactive mode as first message Dec 14, 2024
@santarl santarl changed the title Feature Request: Pass positional arguments for interactive mode as first message Feature request: Pass positional arguments for interactive mode as first message Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@santarl and others