File size: 637 Bytes
61bb677
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Fix client.py
with open('src/free_claude_code/providers/nvidia_nim/client.py', 'r', encoding='utf-8') as f:
    code = f.read()
code = code.replace('self._rotator.get_client()', 'self._rotator.next_client()')
with open('src/free_claude_code/providers/nvidia_nim/client.py', 'w', encoding='utf-8') as f:
    f.write(code)

# Fix failures.py
with open('src/free_claude_code/core/failures.py', 'r', encoding='utf-8') as f:
    code = f.read()
code = code.replace('super().__setattr__(name, value)', 'object.__setattr__(self, name, value)')
with open('src/free_claude_code/core/failures.py', 'w', encoding='utf-8') as f:
    f.write(code)