add better res

This commit is contained in:
unintendedfraud
2025-12-25 18:35:52 +01:00
parent ebdd44e7ab
commit c7a9c78ea3
2 changed files with 13 additions and 2 deletions
+10
View File
@@ -8,6 +8,7 @@ import (
"hal/env"
"hal/handlers"
"hal/llm"
discordbot "github.com/bwmarrin/discordgo"
"github.com/joho/godotenv"
@@ -35,6 +36,15 @@ func main() {
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.
sc := make(chan os.Signal, 1)
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)