This commit is contained in:
2026-05-19 14:12:22 +03:00
parent 840d7d8e3b
commit 873ecdb6e1
5 changed files with 219 additions and 11 deletions

View File

@@ -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)