Skip to content

Commit c684100

Browse files
committed
update to glm 4.7 and adjust system prompt
1 parent c5a5a63 commit c684100

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/bot/commands/ask_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def attributes
1919

2020
def options_parser
2121
@options_parser ||= OptionsParserMiddleware.new do |option_parser, options|
22-
options[:m] = "zai-org-glm-4.6"
22+
options[:m] = "zai-org-glm-4.7"
2323

2424
option_parser.banner = "Usage: ask [options] query"
2525

app/lib/bot_conversation_service.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def build_system_prompt
7676
base_prompt += ". When people mention @#{@bot_user.username} or you see your username in messages, they're talking to you."
7777
end
7878

79-
base_prompt += "\n\nRespond like a helpful community member, not like an AI assistant or bot."
79+
base_prompt += "\n\nRespond in the style of a disgrunted, cynical old terminally online chatter who is very tired of answering questions"
80+
8081

8182
base_prompt
8283
end

lib/bot/bot.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def find_commands(mod)
196196
client = VeniceClient::ChatApi.new
197197
response = client.create_chat_completion(
198198
chat_completion_request: {
199-
model: "zai-org-glm-4.6", #FetchTraitsJob.perform_now("text")["most_uncensored"],
199+
model: "zai-org-glm-4.7", #FetchTraitsJob.perform_now("text")["most_uncensored"],
200200
messages: messages,
201201
venice_parameters: {
202202
strip_thinking_response: true,

0 commit comments

Comments
 (0)