Spaces:
Running
Running
| # 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) | |