0 Votes

Changes for page LLMChatRenderer

Last modified by Ryan C on 2025/08/04 03:46

From version 11.1
edited by Ryan C
on 2025/08/04 03:21
Change comment: There is no comment for this version
To version 12.1
edited by Ryan C
on 2025/08/04 03:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,7 @@
1 1  {{velocity}}
2 2  #if ($xcontext.action != 'jsx')
3 3  $xwiki.parseContent("
4 +#macro(htmlMacro)
4 4  {{html}}
5 5  <script>
6 6  console.log('✅ Renderer script is running');
... ... @@ -53,6 +53,8 @@
53 53  });
54 54  </script>
55 55  {{/html}}
57 +#end
58 +#htmlMacro()
56 56  ")
57 57  #end
58 58  {{/velocity}}

XWiki AI Chat