Skip to content

Commit

Permalink
- feat: hightlight prompt input
Browse files Browse the repository at this point in the history
- feat: add reverse proxy mode
  • Loading branch information
shenjinti committed Apr 19, 2024
1 parent 1a12ad9 commit f8ee491
Show file tree
Hide file tree
Showing 7 changed files with 555 additions and 115 deletions.
102 changes: 101 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fgpt"
version = "0.1.1"
version = "0.1.3"
edition = "2021"
description = "A free reverse proxy and cli tool for OpenAI GPT-3.5-turbo."
authors = ["jinti <[email protected]>"]
Expand Down Expand Up @@ -29,9 +29,12 @@ reqwest = { version = "0.12.3", default-features = false, features = [
"rustls-tls",
"json",
"stream",
"socks",
] }
futures = "0.3.30"
bytes = "1.6.0"
gpt_tokenizer = "0.1.0"
regex = "1.10.4"
rustyline = "14.0.0"
rustyline = { version = "14.0.0", features = ["derive"] }
rand = "0.8.5"
tokio-stream = "0.1.15"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ docker run -it --rm shenjinti/fgpt "Linux command to list files in a directory"
## How to use Reverse Proxy
**[WIP]**
```bash
fgpt -s 127.0.0.1:3000
fgpt -s 127.0.0.1:4090
```
Loading

0 comments on commit f8ee491

Please sign in to comment.