This commit is contained in:
2025-10-29 09:49:49 +04:00
parent 05c789da7e
commit 4e4abc055b
2 changed files with 3 additions and 28 deletions

View File

@@ -6,12 +6,13 @@ import incubaid.herolib.clients.openai
import os
import incubaid.herolib.core.playcmds
// models see https://console.groq.com/docs/models
playcmds.run(
heroscript: '
!!openai.configure name:"qroq"
!!openai.configure name:"groq"
url:"https://api.groq.com/openai/v1"
model_default:"gpt-oss-120b"
model_default:"openai/gpt-oss-120b"
'
reset: true
)!
@@ -25,4 +26,3 @@ response := client.chat_completion(
)!
println(response.result)