Skip to content

Commit 0d131d0

Browse files
committed
fix specs
1 parent e3502f8 commit 0d131d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/lib/modules/ai_bot/personas/persona_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def system_prompt
226226
name: "zzzpun_bot",
227227
description: "you write puns",
228228
system_prompt: "you are pun bot",
229-
tools: ["ImageCommand"],
229+
tools: ["Image"],
230230
allowed_group_ids: [Group::AUTO_GROUPS[:trust_level_0]],
231231
)
232232

spec/lib/modules/ai_bot/playground_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
end
291291

292292
it "can run tools" do
293-
persona.update!(tools: ["TimeCommand"])
293+
persona.update!(tools: ["Time"])
294294

295295
responses = [
296296
"<function_calls><invoke><tool_name>time</tool_name><tool_id>time</tool_id><parameters><timezone>Buenos Aires</timezone></parameters></invoke></function_calls>",

0 commit comments

Comments
 (0)