feat: set default space to tencent-hy3 with native tool calling support

This commit is contained in:
Luxferre
2026-09-07 10:52:17 +03:00
parent 4de3ab3646
commit 187edabadb
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -2,7 +2,7 @@
A zero-dependency, high-performance Go proxy server that introspects any Gradio chat space (such as Hugging Face Spaces or custom deployments) and exposes a standards-compliant OpenAI `/v1/chat/completions` and `/v1/models` HTTP API.
Default demo space: `https://lucasmarchettidelima-digital-twin.hf.space`
Default demo space: `https://tencent-hy3.hf.space`
## Features
@@ -60,26 +60,26 @@ make test
### Quick start
Run with the default space (`https://lucasmarchettidelima-digital-twin.hf.space`):
Run with the default space (`https://tencent-hy3.hf.space`):
```bash
./bin/gr2gw -port 8080
```
Target any other Gradio space:
```bash
./bin/gr2gw -space https://ericsqin-hy3.hf.space -port 8080
./bin/gr2gw -space https://lucasmarchettidelima-digital-twin.hf.space -port 8080
```
With SOCKS5 proxy:
```bash
./bin/gr2gw -space https://lucasmarchettidelima-digital-twin.hf.space -socks socks5://127.0.0.1:1080
./bin/gr2gw -space https://tencent-hy3.hf.space -socks socks5://127.0.0.1:1080
```
### CLI flags
| Flag | Default | Description |
|------|---------|-------------|
| `-space`, `-url` | `https://lucasmarchettidelima-digital-twin.hf.space` | Target Gradio space URL |
| `-space`, `-url` | `https://tencent-hy3.hf.space` | Target Gradio space URL |
| `-port` | `8080` | Port to listen on |
| `-host` | `0.0.0.0` | Host interface to bind to |
| `-socks`, `-proxy`, `-socks5` | `""` | SOCKS5 proxy URL (`socks5://user:pass@host:port`) |
+1 -1
View File
@@ -25,7 +25,7 @@ import (
)
var (
DefaultSpaceURL = "https://lucasmarchettidelima-digital-twin.hf.space"
DefaultSpaceURL = "https://tencent-hy3.hf.space"
DefaultUserAgent = "Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0"
ConfiguredUserAgent string
)