This commit is contained in:
unintendedfraud
2025-12-25 18:38:19 +01:00
parent c7a9c78ea3
commit 41a0adc3d6
-10
View File
@@ -8,7 +8,6 @@ import (
"hal/env" "hal/env"
"hal/handlers" "hal/handlers"
"hal/llm"
discordbot "github.com/bwmarrin/discordgo" discordbot "github.com/bwmarrin/discordgo"
"github.com/joho/godotenv" "github.com/joho/godotenv"
@@ -36,15 +35,6 @@ func main() {
return return
} }
// ---
llmClient := llm.NewClient(&env)
res, err := llmClient.GenerateContent("Yo poto")
if err != nil {
panic(err)
}
fmt.Println(res)
// ---
// Wait here until CTRL-C or other term signal is received. // Wait here until CTRL-C or other term signal is received.
sc := make(chan os.Signal, 1) sc := make(chan os.Signal, 1)
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt) signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)