Skip to content

Commit

Permalink
hint update
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-radency committed Mar 11, 2025
1 parent f8dd39b commit 59e09cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('getGenericHints', () => {
expect(hints).toEqual([
{
message:
"No parameters are set up to be filled by AI. To enable AI-generated values, click the button on the left of the relevant parameter or add the expression: {{ $fromAI('placeholder_name') }}.",
"No parameters are set up to be filled by AI. To enable AI-generated values, click the button on the left of the relevant parameter or add the expression: <code>{{ $fromAI('placeholder_name') }}</code>.",
location: 'outputPane',
whenToDisplay: 'afterExecution',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/editor-ui/src/utils/nodeViewUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export function getGenericHints({
if (!stringifiedParameters.includes('$fromAI')) {
nodeHints.push({
message:
"No parameters are set up to be filled by AI. To enable AI-generated values, click the button on the left of the relevant parameter or add the expression: {{ $fromAI('placeholder_name') }}.",
"No parameters are set up to be filled by AI. To enable AI-generated values, click the button on the left of the relevant parameter or add the expression: <code>{{ $fromAI('placeholder_name') }}</code>.",
location: 'outputPane',
whenToDisplay: 'afterExecution',
});
Expand Down

0 comments on commit 59e09cc

Please sign in to comment.