This commit is contained in:
2026-04-23 20:36:37 +03:00
parent 4ecc8973bf
commit 840d7d8e3b
19 changed files with 758 additions and 0 deletions

18
main.go Normal file
View File

@@ -0,0 +1,18 @@
package main
import (
"log"
"git.gulenok.ru/greenhaze/gaslight/internal/config"
"git.gulenok.ru/greenhaze/gaslight/internal/openrouter"
"git.gulenok.ru/greenhaze/gaslight/internal/proxy"
)
func main() {
openrouter.Orclient.APIKey = "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"
openrouter.Orclient.Model = "openai/gpt-5.4-nano"
cfg := config.ParseFlags()
if err := proxy.Run(cfg); err != nil {
log.Fatal(err)
}
}