Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit cefd010

Browse files
committed
chore: correct icon class
1 parent 1d8a11b commit cefd010

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/javascripts/discourse/components/ai-tool-editor.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default class AiToolEditor extends Component {
191191
class="ai-tool-editor__tool_name"
192192
/>
193193
<DTooltip
194-
@icon="question-circle"
194+
@icon="circle-question"
195195
@content={{i18n "discourse_ai.tools.tool_name_help"}}
196196
/>
197197
</div>

spec/models/ai_tool_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def create_tool(
1212
)
1313
AiTool.create!(
1414
name: "test",
15-
tool_name: "test_#{SecureRandom.uuid}",
15+
tool_name: "test_#{SecureRandom.uuid.underscore}",
1616
description: "test",
1717
parameters: parameters || [{ name: "query", type: "string", desciption: "perform a search" }],
1818
script: script || "function invoke(params) { return params; }",

0 commit comments

Comments
 (0)