upd
This commit is contained in:
5
main.go
5
main.go
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"git.gulenok.ru/greenhaze/gaslight/internal/config"
|
||||
"git.gulenok.ru/greenhaze/gaslight/internal/openrouter"
|
||||
@@ -9,8 +10,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
openrouter.Orclient.APIKey = "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"
|
||||
openrouter.Orclient.Model = "openai/gpt-5.4-nano"
|
||||
openrouter.Orclient.APIKey = os.Getenv("OPENROUTER_TOKEN")
|
||||
openrouter.Orclient.Model = "openai/gpt-5.5"
|
||||
cfg := config.ParseFlags()
|
||||
if err := proxy.Run(cfg); err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user