rename to llamagate
This commit is contained in:
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module github.com/mostlygeek/go-llama-cpp-proxy
|
module github.com/mostlygeek/llamagate
|
||||||
|
|
||||||
go 1.23.0
|
go 1.23.0
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/mostlygeek/go-llama-cpp-proxy/proxy"
|
"github.com/mostlygeek/llamagate/proxy"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -25,7 +25,7 @@ func main() {
|
|||||||
proxyManager := proxy.New(config)
|
proxyManager := proxy.New(config)
|
||||||
http.HandleFunc("/", proxyManager.HandleFunc)
|
http.HandleFunc("/", proxyManager.HandleFunc)
|
||||||
|
|
||||||
fmt.Println("Proxy server started on " + *listenStr)
|
fmt.Println("llamagate listening on " + *listenStr)
|
||||||
if err := http.ListenAndServe(*listenStr, nil); err != nil {
|
if err := http.ListenAndServe(*listenStr, nil); err != nil {
|
||||||
fmt.Printf("Error starting server: %v\n", err)
|
fmt.Printf("Error starting server: %v\n", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user