feat: set default space to tencent-hy3 with native tool calling support
This commit is contained in:
@@ -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.
|
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
|
## Features
|
||||||
|
|
||||||
@@ -60,26 +60,26 @@ make test
|
|||||||
|
|
||||||
### Quick start
|
### Quick start
|
||||||
|
|
||||||
Run with the default space (`https://lucasmarchettidelima-digital-twin.hf.space`):
|
Run with the default space (`https://tencent-hy3.hf.space`):
|
||||||
```bash
|
```bash
|
||||||
./bin/gr2gw -port 8080
|
./bin/gr2gw -port 8080
|
||||||
```
|
```
|
||||||
|
|
||||||
Target any other Gradio space:
|
Target any other Gradio space:
|
||||||
```bash
|
```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:
|
With SOCKS5 proxy:
|
||||||
```bash
|
```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
|
### CLI flags
|
||||||
|
|
||||||
| Flag | Default | Description |
|
| 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 |
|
| `-port` | `8080` | Port to listen on |
|
||||||
| `-host` | `0.0.0.0` | Host interface to bind to |
|
| `-host` | `0.0.0.0` | Host interface to bind to |
|
||||||
| `-socks`, `-proxy`, `-socks5` | `""` | SOCKS5 proxy URL (`socks5://user:pass@host:port`) |
|
| `-socks`, `-proxy`, `-socks5` | `""` | SOCKS5 proxy URL (`socks5://user:pass@host:port`) |
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
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"
|
DefaultUserAgent = "Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0"
|
||||||
ConfiguredUserAgent string
|
ConfiguredUserAgent string
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user