Skip to content

Commit 9c4833f

Browse files
committed
modifying model file and admin fix
1 parent 611f3d6 commit 9c4833f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

internal/bot/adminCommand.go

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ func extractTemp(message string) (float32, error) {
7272
}
7373

7474
func isAuthorAdmin(s *discordgo.Session, m discordgo.Message) bool {
75+
if m.Member == nil || m.Member.Roles == nil {
76+
return false
77+
}
78+
7579
return slices.ContainsFunc(m.Member.Roles, func(rId string) bool {
7680
roles, err := s.GuildRoles(m.GuildID)
7781
if err != nil {

internal/llm/models/hammy.modelfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM Azazel-AI/llama-3.2-3b-instruct-abliterated
22

3-
PARAMETER temperature 0.8
3+
PARAMETER temperature 0.3
44

55
PARAMETER num_ctx 4096
66

0 commit comments

Comments
 (0)