File size: 658 Bytes
34450be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
with open('components/SettingsModal.tsx', 'r') as f:
    content = f.read()

content = content.replace('<span>Jules Key (Agent 4):</span>', '<span>AUXteam:</span>')
content = content.replace(
    '<label className="block text-[10px] font-bold text-gray-500 uppercase">Jules API Key</label>',
    '<label className="block text-[10px] font-bold text-gray-500 uppercase">{agent.id === \'jules-4\' ? \'AUXteam\' : \'Jules API Key\'}</label>'
)
content = content.replace(
    'placeholder="Jules API Key"',
    'placeholder={agent.id === \'jules-4\' ? \'AUXteam\' : \'Jules API Key\'}'
)

with open('components/SettingsModal.tsx', 'w') as f:
    f.write(content)