Created attachment 249977 [details] the shar file tgpt is a cross-platform command-line interface (CLI) tool that allows you to use AI chatbot in your Terminal without requiring API keys. It supports these providers: KoboldAI (koboldcpp/HF_SPACE_Tiefighter-13B), Phind (Phind Model), Llama2 (Llama 2 70b), Blackbox AI (Blackbox model) and OpenAI (All models, Requires API Key)
Created attachment 250000 [details] the shar file I removed a unnecessary comment from the Makefile.
Created attachment 250068 [details] www/tgpt
Created attachment 250086 [details] update go version patch Use go 1.21 because min/max builtin functions doesn't exist in go 1.20
Can you consolidate the patches into one? At first glance, looks good to me. Does this pass portlint?
Created attachment 250197 [details] www/tgpt (In reply to Henrich Hartzer from comment #4) Yes, it does pass portlint. I consolidated the patches into one.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4c112eb06c26984cb741734258f4dfb44570b42 commit a4c112eb06c26984cb741734258f4dfb44570b42 Author: Yusuf Yaman <nxjosephofficial@protonmail.com> AuthorDate: 2024-04-24 14:51:06 +0000 Commit: Gabriel M. Dutra <dutra@FreeBSD.org> CommitDate: 2024-04-24 14:54:09 +0000 www/tgpt: Add new port tgpt is a cross-platform command-line interface tool that allows you to use AI chatbot in your Terminal without requiring API keys PR: 278367 www/Makefile | 1 + www/tgpt/Makefile (new) | 62 +++++++++++++++++++++++++++++++++++++ www/tgpt/distinfo (new) | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ www/tgpt/pkg-descr (new) | 5 +++ 4 files changed, 147 insertions(+)
Committed, thank you!
(In reply to Gabriel M. Dutra from comment #7) You are welcome, thanks for reviewing!