upd
This commit is contained in:
18
main.go
Normal file
18
main.go
Normal 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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user