@@ -146,7 +146,7 @@ module('buildPromptForModel', (hooks) => {
146146 currentFile : 'http://localhost:4201/experiments/Author/1' ,
147147 moduleInspectorPanel : 'preview' ,
148148 previewPanelSelection : {
149- cardId : 'http://localhost:4201/experiments/Author/1' ,
149+ cardId : rri ( 'http://localhost:4201/experiments/Author/1' ) ,
150150 format : 'isolated' ,
151151 } ,
152152 } ,
@@ -245,7 +245,7 @@ Current date and time: 2025-06-11T11:43:00.533Z
245245 } ,
246246 moduleInspectorPanel : 'preview' ,
247247 previewPanelSelection : {
248- cardId : 'http://localhost:4201/experiments/Author/1' ,
248+ cardId : rri ( 'http://localhost:4201/experiments/Author/1' ) ,
249249 format : 'isolated' ,
250250 } ,
251251 } ,
@@ -464,7 +464,7 @@ Current date and time: 2025-06-11T11:43:00.533Z
464464 body : 'Hey' ,
465465 data : {
466466 context : {
467- openCardIds : [ 'http://localhost:4201/experiments/Author/1' ] ,
467+ openCardIds : [ rri ( 'http://localhost:4201/experiments/Author/1' ) ] ,
468468 tools : [ ] ,
469469 submode : 'interact' ,
470470 realmUrl : 'http://localhost:4201/experiments' ,
@@ -1426,7 +1426,7 @@ Attached Files (files with newer versions don't show their content):
14261426 } ,
14271427 ] ,
14281428 context : {
1429- openCardIds : [ 'http://localhost:4201/experiments/Friend/1' ] ,
1429+ openCardIds : [ rri ( 'http://localhost:4201/experiments/Friend/1' ) ] ,
14301430 submode : 'interact' ,
14311431 tools : [ ] ,
14321432 functions : [ ] ,
@@ -1593,16 +1593,19 @@ Attached Files (files with newer versions don't show their content):
15931593 body : 'set the name to dave' ,
15941594 data : {
15951595 context : {
1596- openCardIds : [ 'http://localhost:4201/experiments/Friend/1' ] ,
1596+ openCardIds : [ rri ( 'http://localhost:4201/experiments/Friend/1' ) ] ,
15971597 tools : [
1598- getPatchTool ( 'http://localhost:4201/experiments/Friend/1' , {
1599- attributes : {
1600- type : 'object' ,
1601- properties : {
1602- firstName : { type : 'string' } ,
1598+ getPatchTool (
1599+ rri ( 'http://localhost:4201/experiments/Friend/1' ) ,
1600+ {
1601+ attributes : {
1602+ type : 'object' ,
1603+ properties : {
1604+ firstName : { type : 'string' } ,
1605+ } ,
16031606 } ,
16041607 } ,
1605- } ) ,
1608+ ) ,
16061609 ] ,
16071610 submode : 'interact' ,
16081611 functions : [ ] ,
@@ -1679,7 +1682,7 @@ Attached Files (files with newer versions don't show their content):
16791682 body : 'set the name to dave' ,
16801683 data : {
16811684 context : {
1682- openCardIds : [ 'http://localhost:4201/drafts/Author/1' ] ,
1685+ openCardIds : [ rri ( 'http://localhost:4201/drafts/Author/1' ) ] ,
16831686 tools : [ ] ,
16841687 submode : 'code' ,
16851688 functions : [ ] ,
@@ -1755,7 +1758,7 @@ Attached Files (files with newer versions don't show their content):
17551758 let cardMessageContent = eventList [ 0 ] . content as CardMessageContent ;
17561759 cardMessageContent . data . context ||= { } ;
17571760 cardMessageContent . data . context . tools = [
1758- getPatchTool ( 'http://localhost:4201/drafts/Author/1' , {
1761+ getPatchTool ( rri ( 'http://localhost:4201/drafts/Author/1' ) , {
17591762 attributes : { firstName : { type : 'string' } } ,
17601763 } ) ,
17611764 ] ;
@@ -1811,13 +1814,16 @@ Attached Files (files with newer versions don't show their content):
18111814 body : 'set the name to dave' ,
18121815 data : {
18131816 context : {
1814- openCardIds : [ 'http://localhost:4201/experiments/Friend/1' ] ,
1817+ openCardIds : [ rri ( 'http://localhost:4201/experiments/Friend/1' ) ] ,
18151818 tools : [
1816- getPatchTool ( 'http://localhost:4201/experiments/Friend/1' , {
1817- attributes : {
1818- firstName : { type : 'string' } ,
1819+ getPatchTool (
1820+ rri ( 'http://localhost:4201/experiments/Friend/1' ) ,
1821+ {
1822+ attributes : {
1823+ firstName : { type : 'string' } ,
1824+ } ,
18191825 } ,
1820- } ) ,
1826+ ) ,
18211827 ] ,
18221828 submode : 'interact' ,
18231829 functions : [ ] ,
@@ -1842,16 +1848,19 @@ Attached Files (files with newer versions don't show their content):
18421848 body : 'set the location to home' ,
18431849 data : {
18441850 context : {
1845- openCardIds : [ 'http://localhost:4201/experiments/Meeting/2' ] ,
1851+ openCardIds : [ rri ( 'http://localhost:4201/experiments/Meeting/2' ) ] ,
18461852 tools : [
1847- getPatchTool ( 'http://localhost:4201/experiments/Meeting/2' , {
1848- attributes : {
1849- type : 'object' ,
1850- properties : {
1851- location : { type : 'string' } ,
1853+ getPatchTool (
1854+ rri ( 'http://localhost:4201/experiments/Meeting/2' ) ,
1855+ {
1856+ attributes : {
1857+ type : 'object' ,
1858+ properties : {
1859+ location : { type : 'string' } ,
1860+ } ,
18521861 } ,
18531862 } ,
1854- } ) ,
1863+ ) ,
18551864 ] ,
18561865 submode : 'interact' ,
18571866 functions : [ ] ,
@@ -2364,7 +2373,7 @@ Attached Files (files with newer versions don't show their content):
23642373 clientGeneratedId : '5bb0493e-64a3-4d8b-a99a-722daf084bee' ,
23652374 data : {
23662375 context : {
2367- openCardIds : [ 'http://localhost:4201/drafts/Author/1' ] ,
2376+ openCardIds : [ rri ( 'http://localhost:4201/drafts/Author/1' ) ] ,
23682377 tools : [
23692378 {
23702379 type : 'function' ,
@@ -2485,7 +2494,7 @@ Attached Files (files with newer versions don't show their content):
24852494 clientGeneratedId : 'd93c899f-9123-4b31-918c-a525afb40a7e' ,
24862495 data : {
24872496 context : {
2488- openCardIds : [ 'http://localhost:4201/drafts/Author/1' ] ,
2497+ openCardIds : [ rri ( 'http://localhost:4201/drafts/Author/1' ) ] ,
24892498 tools : [
24902499 {
24912500 type : 'function' ,
@@ -2583,7 +2592,7 @@ Attached Files (files with newer versions don't show their content):
25832592 format : 'org.matrix.custom.html' ,
25842593 data : {
25852594 context : {
2586- openCardIds : [ 'http://localhost:4201/drafts/Author/1' ] ,
2595+ openCardIds : [ rri ( 'http://localhost:4201/drafts/Author/1' ) ] ,
25872596 functions : [ ] ,
25882597 } ,
25892598 } ,
@@ -2665,7 +2674,7 @@ Attached Files (files with newer versions don't show their content):
26652674 } ) ,
26662675 } ,
26672676 context : {
2668- openCardIds : [ 'http://localhost:4201/drafts/Author/1' ] ,
2677+ openCardIds : [ rri ( 'http://localhost:4201/drafts/Author/1' ) ] ,
26692678 tools : [ ] ,
26702679 submode : 'interact' ,
26712680 functions : [ ] ,
0 commit comments