remove test
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
"hal/env"
|
||||
"hal/handlers"
|
||||
"hal/llm"
|
||||
|
||||
discordbot "github.com/bwmarrin/discordgo"
|
||||
"github.com/joho/godotenv"
|
||||
@@ -36,17 +35,6 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
// ---
|
||||
llmClient := llm.NewClient(&env)
|
||||
res, err := llmClient.GenerateContent("Quelle est la capitale de la France?")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
fmt.Println("### RES ###")
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user