readme upd

This commit is contained in:
Luxferre
2026-07-31 10:05:46 +03:00
parent deb1025bda
commit fc19ca9a8f
+16 -11
View File
@@ -15,15 +15,7 @@ Hygate is a standalone, single-binary gateway that exposes Tencent's Hunyuan 3 (
## Installation ## Installation
Build from source with Go 1.26 or newer: You need Go 1.26 or newer. Install the latest release straight from the Git repository with `go install`:
```
make
```
This produces `bin/hygate` binary for your architecture.
Install the latest release straight from the Git repository with `go install`:
``` ```
go install code.luxferre.top/luxferre/hygate@latest go install code.luxferre.top/luxferre/hygate@latest
@@ -39,12 +31,14 @@ cd hygate
go install . go install .
``` ```
Alternatively, you can directly build from source by running `make`. This produces `bin/hygate` binary for your architecture.
## Usage ## Usage
Run the gateway: Run the gateway:
``` ```
./bin/hygate [-port 8080] [-endpoint https://tencent-hy3.hf.space] hygate [-port 8080] [-endpoint https://tencent-hy3.hf.space]
``` ```
Available flags: Available flags:
@@ -72,6 +66,10 @@ curl http://localhost:8080/v1/chat/completions \
No. The gateway proxies directly to the public Gradio space and does not require authentication. No. The gateway proxies directly to the public Gradio space and does not require authentication.
### Why proxy this particular model?
Even through the Gradio API, Tencent Hy3 is a very fast and performant model when it comes to agentic tasks. Unfortunately, it still is too big for most people to run locally, at decent speed or at all. This gateway solves this problem for them.
### Which models are reported? ### Which models are reported?
A single model, `hy3`, is advertised via `/v1/models`. A single model, `hy3`, is advertised via `/v1/models`.
@@ -82,7 +80,14 @@ No. The `usage` field is always zero, since the upstream Gradio API does not exp
### Can the upstream endpoint be changed? ### Can the upstream endpoint be changed?
Yes, with the `-endpoint` flag. Any HuggingFace Gradio space hosting the compatible `chat` endpoint will work. Yes, with the `-endpoint` flag. Any HuggingFace Gradio space hosting the compatible `/chat` endpoint will work.
### Is it compatible with the [Dynagate](https://code.luxferre.top/luxferre/dynagate) LLM gateway?
Absolutely. Just run Hygate on a separate port (e.g. 8899) and then add the following line to the Dynagate's `models.csv` file:
```
hy3,-,http://localhost:8899,
```
## Credits ## Credits